Table of Contents NAME mg_perf_hash_build - generate an order-preserving hash function for...
Table of Contents
NAME
mg_perf_hash_build - generate an order-preserving hash function for the stemmed dictionary
SYNOPSIS
mg_perf_hash_build [ -h ] [ -r rndseed ] [ -d directory ] -f name
DESCRIPTION
mg_perf_hash_build generates an order-preserving hashing function from the compressed stemmed dictionary and writes it out to disk. mg_passes(1) will make use of the hash function when it builds the inverted file.
OPTIONS
Options may appear in any order.
- -h
- This displays a usage line on stderr.
- -r rndseed
- This specifies the random seed to be used in the generation of the hash function; it must be an integer. If this is not specified, the current time will be used as the random seed.
- -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.dict
- Stemmed dictionary.
- *.invf.dict.hash
- Data for a order-preserving perfect hash function.
SEE ALSO
mg(1),
mg_compression_dict(1),
mg_fast_comp_dict(1),
mg_get(1),
mg_invf_dict(1),
mg_invf_dump(1),
mg_invf_rebuild(1),
mg_passes(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