lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Shalyminov <>
Subject Indexing multiple fields with one document position
Date Mon, 21 Jan 2013 08:04:46 GMT

When indexing text with position data, one just adds field do a document in the form of its
name and value, and the indexer assigns it unique position in the index.
I wonder, if I have an entry with two attributes, say:

<entry pos = "Noun" number = "singular">cat</entry>,

How do I store in the index two fields, "pos" and "number" with its values, pointing to the
same position in the document?

Best Regards,
Igor Shalyminov

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message