[Xapian-discuss] creating a database that's compatible with omega

Olly Betts olly at survex.com
Wed Mar 9 21:00:01 GMT 2005


On Wed, Mar 09, 2005 at 08:49:48PM +0000, Sam Liddicott wrote:
> You also need to add a field to the record.
> 
> Terms are what allow a record to be found
> Keys are used for maniupations, conditions and sorting during search

To avoid confusion, I should point out that these are called "values".
(Prior to Xapian 0.5.0 they were known as "keys", but the terminology
changed about 2.5 years ago!)

> Fields are used to retreive per-record text for summaries and things 
> like for Omega.

And they're stored in the document data, simply as a series of
FIELDNAME=FIELDVALUE separated by newlines ('\n').  This is described
in the section "Document data construction" near the end of overview.txt
in the omega documentation.

Cheers,
    Olly



More information about the Xapian-discuss mailing list