WordDBInfo3
Inverted index usage environment.
Usage
Only called thru WordContext::Initialize()
Overview
The inverted indexes may be shared among processes/threads and provide the appropriate locking to prevent mistakes. In addition the memory cache used by WordList objects may be shared by processes/threads, greatly reducing the memory needs in multi-process applications. For more information about the shared environment, check the Berkeley DB documentation.
Configuration
For more information on the configuration attributes and a complete list of attributes, see the mifluz(3) manual page.
- wordlist_env_skip {true,false} (default false)
-
If true no environment is created at all. This must never be used if a WordList object is created. It may be useful if only WordKey objects are used, for instance.
- wordlist_env_share {true,false} (default false)
-
If true a sharable environment is open or created if none exist.
- wordlist_env_dir <directory> (default .)
-
Only valid if wordlist_env_share set to true. Specify the directory in which the sharable environment will be created. All inverted indexes specified with a non-absolute pathname will be created relative to this directory.
Releases
2 releases since Debian 3.0 (Woody); the text changed 1 time.