lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Shalyminov <ishalymi...@yandex-team.ru>
Subject Indexing multiple fields with one document position
Date Mon, 21 Jan 2013 08:04:46 GMT
Hello!

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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message