Setting Term Lexicon Manager parameters

The Term Lexicon Manager settings are loaded through the TermLexiconModule.default.xml configuration file.

Table 3-10: Term Lexicon Manager parameters

Parameter

Default

Description

term.length.max

20

The maximum term length considered valid for indexing. This value must match the Text Manager parameter max.term.length.

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. Idle time restarts 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, set this parameter to the same value as the term.length.max.

minimization.factor

50

The branching factor of the underlying term lexicon segments.

WARNING! This parameter affects the lookup performance of the Term Lexicon Manager. Do not change this value without consulting Sybase Technical Support.