Table of Contents NAME mg_invf_merge - Merge two inverted files and stemmed dictionaries ...
Table of Contents
NAME
mg_invf_merge - Merge two inverted files and stemmed dictionaries
SYNOPSIS
mg_invf_merge [ -h ] [ -s ] [ -w ] [ -d directory ] -f name
DESCRIPTION
This program takes two mg(1) database compressed text files and appends the second to the first. It is part of the mgmerge(1) addition to the mg(1) package.
OPTIONS
Options may appear in any order.
- -h
- This displays a usage line on stderr.
- -s
- This option will cause a slow merge to be performed on the inverted files, where each inverted file entry is decoded and recoded. The default is a fast merge. Accumulated fast merges slowly degrade compression performance on the resulting inverted file so a periodic slow merge is recommended.
- -w
- By default the database .weights file is updated with new weights for the new documents in mg_text_merge. The -w option turns this step off.
- -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
- *.old.invf.dict
- The old compressed stemmed dictionary.
- *.new.invf.dict
- The new compressed stemmed dictionary.
- *.invf.dict
- The resulting merged compressed stemmed dictionary.
- *.old.invf.ORG
- The original inverted file saved by mg_invf_rebuild.
- *.old.invf
- The old inverted file.
- *.new.invf
- The new inverted file.
- *.invf
- The resulting merged inverted file.
- *.weight
- The exact weights file.
mg(1),
mgmerge(1),
mg_get_merge(1),
mg_text_merge(1),
mg_invf_rebuild(1),
mg_invf_dict(1),
mg_weights_build(1),
mgquery(1).
Table of Contents