lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mitu2009 <musicfrea...@gmail.com>
Subject Reading document in Lucene
Date Tue, 31 Mar 2009 00:17:21 GMT

My indexed document in Lucene has got multiple cities assigned to it...ie.
doc.Add(new Field("city", city1.Trim(), Field.Store.YES,
Field.Index.TOKENIZED)); doc.Add(new Field("city", city2.Trim(),
Field.Store.YES, Field.Index.TOKENIZED)); etc

how do i iterate thru them and read the values after executing the Lucene
search query?

Thanks

-- 
View this message in context: http://www.nabble.com/Reading-document-in-Lucene-tp22795893p22795893.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message