Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Indri Repository Field Modification

This application enables adding or removing indexed fields from an Indri Repository without reindexing the entire collection. Adding a field requires the use of offset annotations (see Offset Annotations) for specifying the field values.

Parameters

index The indri Repostitory to modify.

fileclass The FileClassEnvironment used to build the index (the corpus.class entry).

addField A list of fields to add. The subelements are:

field
a complex element specifying the fields to index as data. The subelements are:
name
the field name
numeric
the symbol true if the field contains numeric data, otherwise the symbol false.
parserName
the name of the parser to use to convert a numeric field to an unsigned integer value. If true, you should use the value OffsetAnnotationAnnotator.

annotations The offset annotations file for the collection. Single file required.

removeField A list of fields to remove. The subelements are:

name
the field name

Generated on Tue Jun 15 11:02:58 2010 for Lemur by doxygen 1.3.4