lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xing@mac.com" <x...@mac.com>
Subject Problem with multiple values to a single field.
Date Sat, 09 Jul 2005 18:42:09 GMT
I need to index multiple values to a single document field, such as 
category. An entry can be associated with 2 or more categories. When the 
search is performed, the user can opt to select result from documents 
containing only one category value. What would be the best way to go 
about this?

Does lucene allow me to use the doc.add() method twice for the same 
field and store two different values?

Thanks a bunch.

Xing

---------------------------------------------------------------------
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