Setting Term Lexicon Manager parameters

The Term Lexicon Manager settings are loaded through the TermLexiconModule.default.xml configuration file. Table 4-8 shows the parameters for the Term Lexicon Manager.

Table 4-8: Term Lexicon Manager parameters

Parameter

Default

Description

term.length.max

20

The maximum term length deemed valid for indexing. This value must match the Text Manager parameter max.term.length. See “Setting Text Manager parameters”.

cache.capacity

131,072

The number of terms stored in memory to improve indexing and querying performance.

cache.useRootChildrenCache

true

If set to true, the underlying term lexicon data structures cache some of their structure in memory to improve indexing and querying performance.

unify.size.threshold

10,000

Determines how many terms in each term lexicon segment are stored in memory before being written to disk.

unify.idle.threshold

120,000

The time, in milliseconds, that the Term Lexicon Manager remains idle before unifying the pending terms. The idle time is restarted when a new term is added, or when an existing term is looked up.

number.of.segments

20

The number of term lexicon segments. For maximum efficiency, the value should be equal to the term.length.max.

minimization.factor

50

The branching factor of the underlying term lexicon segments. This parameter affects the lookup performance of the Term Lexicon Manager. Do not change this value without consulting Sybase Technical Support.