Pregen Structure

From ATIRE

Jump to: navigation, search

The pregen file starts with the string: "ANT Search Engine Pregen File\n\0"

Then the string which identifies the field name for this pregenerated ranking.

Then a sequence of ANT_pregen_t's which encode the RSV's for each document.

Finally a "header" of 5 uint32_t's containing the following information: the version of the pregen file, the number of documents, sizeof(ANT_pregen_t), the type of pregen and finally the length of the field name string.