Writing data to disk

There are two sets of parameters that affect the point at which buffered data is written to indexes—the rate at which the data is written, and the index settings themselves.

Table 3-43: Index parameters

Parameter

Default

Description

omniq.indexer.sleepDurationMillis

20

The time, in milliseconds, the indexer thread sleeps during indexing to allow other CPU-intensive applications to run.

omniq.indexer.sleepFrequency

20

Indicates the number of cycles the indexer thread will sleep.

omniq.index.term.numSegments

5

The number of segments helps to distribute the indexed data across a number of files, reducing the seek times of large files.

omniq.index.term.minimizationFactor

20

The branching factor of each index segment. This parameter affects the lookup performance of the index segment.

omniq.index.term.useRootChildrenCache

true

If set to true, index segments cache some of their structure in memory to improve indexing and querying performance.

omniq.index.metadata.numSegments

2

The number of segments helps to distribute the indexed data across a number of files, reducing the seek times of large files.

omniq.index.metadata.minimizationFactor

10

The branching factor of each metadata index segment. This parameter affects the lookup performance of the metadata index segment.

omniq.index.metadata.useRootChildrenCache

true

If set to true, metadata index segments cache some of their structure in memory to improve indexing and querying performance.

omniq.lexicon.document.maxKeyLength

256

The maximum document file path length deemed valid for indexing.

omniq.lexicon.document.minimizationFactor

20

The branching factor of each document lexicon segment. This parameter affects the lookup performance of the document lexicon segment. Do not change this default value.

omniq.lexicon.document.useRootChildrenCache

true

If set to true, the document lexicon segments will cache some of their structure in memory to improve indexing and querying performance.

omniq.lexicon.reverseDocument.numSegments

4

The number of segments helps to distribute the indexed data across a number of files, reducing the seek times of large files.