~/.mifluz
configuration file or
/usr/etc/mifluz.conf
. See the mifluz
manual page for a complete list of the configuration attributes.
When calling Initialize a second time, one must ensure that all WordList and WordCursor objects have been destroyed. WordList and WordCursor internal state depends on the current WordContext that will be lost by a second call.
For those interested by the internals, the Initialize function maintains a Berkeley DB environment (DB_ENV) in the following way:
First invocation:
Initialize -> new DB_ENV (thru WordDBInfo)
Second invocation:
Initialize -> delete DB_ENV -> new DB_ENV (thru WordDBInfo)
Configuration
object from the file pointed to by the
MIFLUZ_CONFIG environment variable or ~/.mifluz or /usr/etc/mifluz.conf.
The
config_defaults
argument, if provided, is passed to
the
Configuration
object using the
Defaults
method.
The
Initialize(const Configuration &)
method is then called
with the
Configuration
object.
Return OK if success, NOTOK otherwise.
Refer to the
Configuration
description for more information.
Configuration
object and
rebuild it. May be used when the configuration is changed to
take these changes in account.
Return OK if success, NOTOK otherwise.