1.7.5.7.4.  Block [settings] Key PartialSearchCatalogs - Partial Search
Requirement

The partial search is enabled by default.

The fingerprints for the partial search are for a catalog, however, only if this is configured. To use the fingerprints for example, for the catalog "mycatalog", set the following key in geomsearch.cfg:

PartialSearchCatalogs=cat/mycatalog

If you want to specify multiple catalogs, separate the entries with commas.

This setting applies to any method that can be used to generate fingerprints.

Finally, generate the geometry index for the entire catalog.

Adjustment Accuracy

The accuracy is configurable:

$CADENAS_SETUP/geomsearch.cfg

[PartialSearchAccuracies]
Accurate=0.02,Accurate
Intermediate=0.07,Intermediate
Rough=0.15,Rough

The first value is the similarity (0.10 = 10%), and the second value is the name displayed in the application (translatable in .def).

Background Information

Generating fingerprints for partial searches takes significantly longer than generating regular fingerprints. In addition, the fingerprints require more storage space. For this reason, they are not generated by default for all catalogs.

The index is located at $CADENAS_DATA/index/cat/cat_<CATALOGNAME>/partial. It contains the following files:

  • geomsearch.fdb: Fingerprints and attributes for all features

  • geomsearch.ofm: Mapping the project path to the internal ID

  • geomsearch.edx: Fast-search index for features

  • geomsearch.cidb: Additional information only for indexing

After an update, three additional files are created:

  • geomsearch.uop: Update Information

  • geomsearch.ufdb: Fingerprints and Attributes for all updates

  • geomsearch.ucidb: Additional information for all updates

The structure is similar to that of a normal geosearch. Instead of a linear index, a fast-search index (.edx) is used.

The size of the caches can be changed in the CACHEV2_PARTIAL_SEARCH_32 and CACHEV2_PARTIAL_SEARCH_64 blocks, respectively. Rule of thumb: SampleLineCacheSize has the lowest priority. If you specify a valid filename under LogFileName, cache information is written after each search. This information can be used to optimize memory allocation.

See also Section 1.4.3.6.6.16, “ Geo search index for partial search ”

See also Section 5.24.6, “GeoDb ”.