mgbuild_4(1)

NAME
mgbuild_4 - build an mg system database using 4 passes instead of 2

SYNOPSIS
mgbuild_4 [ -c ] [ -g get ] [ -s source ] [ -d mgdata dir ] collection-name

DESCRIPTION
mgbuild_4 is a csh script that executes all the appropriate programs in the correct order to completely build an mg(1) system database ready for queries to be made by mgquery. This program makes use of the mg_get(1) script to obtain the text of the collection. In mgbuild(1) the build is done by two passes over the input text. The first pass creates the compressed text dictionary and inverted file dictionary, the second pass creates the compressed text and inverted file. What mgbuild_4 does is use a separate pass for each function. This will be slower but will not require as much RAM at one time. Therefore, if your build is failing due to running short of memory, then mgbuild_4 is worth a try.

SEE ALSO
mgbuild(1)