Main -> Documentation -> Database Builder – Newton -> Open SiteSearch Database Builder Utility Programs -> The Sortnip Utility

The Sortnip Utility

The sortnip utility sorts the contents of a New Index and Postings (NIP) file, and stores the results in a sorted NIP (SNIP) file.

The NIP file will be created by pippin and must be sorted into alphabetical order by term in order for rome to process the records successfully. The pippin utility has written two special records to the NIP file that will aid in determining the success of the sortnip run. The special records are the database description, which has the lowest possible sort order string appended to the beginning, and the e-nip record, which has the highest possible sort order appended to the beginning.

Generally, errors in the NIP file are the result of errors in the original database input data or a conflict between the use of an indexing rule against a particular field of data and the value of the data in that field. To correct the problem, refer to Creating a Database Description (.dsc) File for more information about indexing rules and the expected data format.

Once the NIP file has been sorted and written out to the SNIP file, rome can use the SNIP file as input.

Note:

This utility performs step 4 in the database build process. It is strongly recommended that you use the SiteSearch Database Operations Tool (SSDOT) to complete the database build process. SSDOT, a component of the SiteSearch system, has a menu-driven interface that automates the process. SSDOT is able to complete all of the necessary steps involved in the process, including the tasks performed by the sortnip utility.

Syntax

sortnip -iinfile -ooutfile

Parameter

Description

-iinfile

Indicates the file name of the NIP file outputted by pippin.

-ooutfile

Contains the file name of the SNIP file that will be outputted by sortnip for use by the rome utility.

See Also

The Pippin Utility
The Rome Utility
Creating a Database Description (.dsc) File
Open SiteSearch Database Builder Utility Programs
SiteSearch Database Operations Tool (SSDOT)
ASN.1/BER Input Record Format (available from Open SiteSearch technical support)


[Main][Documentation][Support][Technical Reference][Community][Glossary][Search]

Last Modified: