Table of Contents NAME mg_invf_dict - build an `on-disk' stemmed dictionary SYNOPSIS ...
Table of Contents

NAME

mg_invf_dict - build an `on-disk' stemmed dictionary

SYNOPSIS

mg_invf_dict [ -h ] [ -F ] [ -b num ] [ -d directory ] -f name

DESCRIPTION

mg_invf_dict builds an `on-disk' stemmed dictionary from the compressed stemmed dictionary that the mgquery(1) program can access. Each entry in the dictionary contains the disk pointer to the associated inverted file entry, and various other pieces of information about the stemmed word.

OPTIONS

Options may appear in any order.

-h
This displays a usage line on stderr.

-b num
The dictionary is stored in blocks on disk; this option is used to set the block size. The default is 4-KB blocks.

-F
This option causes the disk blocks to be aligned on the appropriate boundaries. For example, if 4-KB blocks are used, they will be aligned in the file on 4-KB boundaries.

-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

*.invf
Inverted file.

*.invf.dict.build
Compressed stemmed dictionary.

*.invf.dict
The `on-disk' stemmed dictionary.

*.invf.idx
The index into the inverted file.

SEE ALSO

mg(1), mg_compression_dict(1), mg_fast_comp_dict(1), mg_get(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).


Table of Contents