powered by CADENAS

Manual

Manual

4.5.6.2.1.  Caching index files of $CADENAS_DATA on PARTapplicationServer

In the configuration file under $CADENAS_SETUP/filesystems.cfg it is controlled, whether a caching of CADENAS_DATA index files shall be processed:

  • Variant A: We recommend not to combine search server and $CADENAS_DATA on the same server.

    If you follow the recommendation, then please activate the index files caching, because otherwise the search server does not work efficiently. Now the cadenas_data/index directory will be replicated. Local hard disk storage has to be available accordingly.

  • Variant B: If search server and $CADENAS_DATA are on the same server, the caching is not necessary.

[CACHEFS(pappserver)]
#enable this stuff.
USECACHEFS=0
#root dir (source) where the caching starts
CACHEROOT=$CADENAS_DATA/index
# sync target dir...
SYNCDIR=$CADENAS_USER/cachefs
#which regex under CACHEROOT not to cache (ignore completely)
NOCACHE=.*index.cfg|.*index.idx
#which regex under CACHEROOT to sync to $CADENAS_USER/cachefs and watch for changes...
SYNCLOCAL=.*lucene.*|.*dym.*|.*sws.*|.*geoindex.*|.*geoindexv2.*|.*topoindex.*|
.*index.ic2t|.*index0.ic2t|.*index0.c2t|.*index.0.node.*|.*index.0.data.*|
.*techterms.xml|.*wordfreq.xml|.*index.idx|.*erp.dat
SYNCCHECKSECONDS=900
MAXSYNCTHREADS=10

Setting options:

  • Activation

    USECACHEFS=1 (default = 0 = off)

    Select 1, if in PARTadmin, you have either chosen the option Catalog browsing, search and database via AppServer or Catalog browsing and search with AppServer or Search with AppServer and PARTapplicationServer and $CADENAS_DATA are not on the same server.

  • Declaration of the caching directory

    SYNCDIR=$CADENAS_USER/cache_index

    => Thus the cache index is stored under "C:\windows\system32\config\systemprofile\cache_index". If this is not wanted, then any other path can be adjusted.

  • Interval, wherein it is checked for changes.

    Adjust SYNCCHECKSECONDS if needed

[Note] Note

Turn off Windows File Caching

Due to PARTapplicationServer's own caching an additional Windows File Caching is not necessary.[64] [65]It can possibly slow down the search on the server significantly.



[64] Could possibly be checked with the Process Monitor.

[65] Notes concerning turning off are found under http://offlinefiles.blogspot.de/2010/03/disable-offline-files-in-windows-7.html.