10.9.4 WordList CONFIGURATION
For more information on the configuration attributes and a complete list of attributes, see the mifluz(3) manual page.
- `wordlist_extend {true|false} (default false)'
-
If
true
maintain reference count of unique
words. The
Noccurrence
method gives access to this count.
- `wordlist_verbose <number> (default 0)'
-
Set the verbosity level of the WordList class.
1 walk logic
2 walk logic details
3 walk logic lots of details
- `wordlist_page_size <bytes> (default 8192)'
-
Berkeley DB page size (see Berkeley DB documentation)
- `wordlist_cache_size <bytes> (default 500K)'
-
Berkeley DB cache size (see Berkeley DB documentation)
Cache makes a huge difference in performance. It must be at least 2%
of the expected total data size. Note that if compression is activated
the data size is eight times larger than the actual file size. In this
case the cache must be scaled to 2% of the data size, not 2%
of the file size. See
Cache tuning
in the mifluz guide for
more hints.
See WordList(3) for the rationale behind cache file handling.
- `wordlist_cache_max <bytes> (default 0)'
-
Maximum size of the cumulated cache files generated when doing bulk
insertion with the
BatchStart()
function. When this limit is
reached, the cache files are all merged into the inverted index.
The value 0 means infinite size allowed.
See WordList(3) for the rationale behind cache file handling.
- `wordlist_cache_inserts {true|false} (default false)'
-
If true all
Insert
calls are cached in memory. When the
WordList object is closed or a different access method is called
the cached entries are flushed in the inverted index.
- `wordlist_compress {true|false} (default false)'
-
Activate compression of the index. The resulting index is eight times
smaller than the uncompressed index.