mgpp_weights_build(1)

NAME
mgpp_weights_build - builds the approximate weights file

SYNOPSIS
mgpp_weights_build [ -h ] [ -b num-bits ]
[ -d directory ] -f name

DESCRIPTION
mgpp_weights_build is the program that generates the exact and approximate weights files. To do this, it uses the inverted file and dictionary.

OPTIONS
Options may appear in any order.

-h  This displays a usage line on stderr.

-b num-bits
    This specifies the number of bits of precision that should be used for the approximate weights. If not specified, it defaults to 8.

-d directory
    This specifies the directory where the document collection is.

-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 mgpp 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
    Compressed stemmed dictionary.

*.text.idx
    Index into the compressed documents.

*.weight
    The exact weights file.

*.weight.approx
    Approximate document weights.

SEE ALSO
mgpp_compression_dict(1), mgpp_fast_comp_dict(1), mgpp_invf_dict(1), mgpp_passes(1), mgpp_perf_hash_build(1), mgpp_stem_idx(1)