30.4. Warm up search for geo search

As of V9.08 you can perform a configurable warm up search for GeoSearch.[159]

You can decide which catalogs should be cached in preference if not all catalogs can be cached due to memory limitations.

Example:

[CACHEV2_GEO_SEARCH_32]
PreloadedCatalogs=cat/parts,cat/norm,cat

In the example above, the catalog cat/parts would be loaded into the cache first, if there is space left in the cache, cat/norm would be next, and all other catalogs would be loaded in arbitrary order if still space left.

Furthermore you can decide which type of index should be preloaded. Per default this is the linear index, which normally should fit into the memory.

The configuration is done in $CADENAS_SETUP/geomsearch.cfg, in the sections CACHEV2_GEO_SEARCH_32 respectively CACHEV2_GEO_SEARCH_64.

The following keys have been added:

  • Configuring the applications

    PreloadingApps=pappserver

    You can list the applications which should perform the preload here, comma-separated. This list is empty by default for 32 bits, for 64 bits the pappserver is added by default.

  • Configuring the catalogs to be preloaded

    PreloadedCatalogs=cat/norm/din,cat/norm,cat

    You can list catalogs, catalog groups (like cat/norm), categories (like nat, cat) here. The caching is done in the order given in the config file. In this example, norm/din is cached first, if there is still space left, the other norm catalogs are cached, and so on. Default: cat

  • Configuring the search templates

    PreloadedTemplates=SystemTemplate1

    List the most often used templates here. For these templates, the linear index will be preloaded.

    Default: SystemTemplate1 (Standard search)

  • Configuring for result view

    PreloadLines=1

    If you prefer the view with part families in the result view of PARTdataManager, set this value to 0. If you prefer to see all the lines, set this value to 1. Default: 1




[159] #37063