mg_fast_comp_dict(1)

NAME
mg_fast_comp_dict - build a fast loading compression dictionary

SYNOPSIS
mg_fast_comp_dict [ -h ] [ -d directory ] -f name

DESCRIPTION
mg_fast_comp_dict builds a fast-loading compression dictionary from the standard compression dictionary. The new dictionary has the property that mgquery(1) can load it in very quickly, making the startup time for mgquery(1) much shorter. The new dictionary is larger on disk than the original, but they are no different when it comes to memory usage.

OPTIONS
Options may appear in any order.

-h  This displays a usage line on stderr.

-d directory
    This specifies the directory where the document collection can be found.

-f name
    This specifies the base name of the document collection.

ENVIRONMENT

MGDATA
    If this environment variable exists, then its value is used as the default directory where the mg(1) collection files are. If this variable does not exist, then the directory “.” is used by default. The command line option -d directory overrides the directory in MGDATA.

FILES

*.text.dict
    Compression dictionary.

*.text.dict.fast
    Fast loading compression dictionary.

*.text.dict.aux
    Auxiliary compression dictionary.

SEE ALSO
mg(1), mg_compression_dict(1), mg_get(1), mg_invf_dict(1), mg_invf_dump(1), mg_invf_rebuild(1), mg_passes(1), mg_perf_hash_build(1), mg_text_estimate(1), mg_weights_build(1), mgbilevel(1), mgbuild(1), mgdictlist(1), mgfelics(1), mgquery(1), mgstat(1), mgtic(1), mgticbuild(1), mgticdump(1), mgticprune(1), mgticstat(1).