lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mitu2009 <musicfrea...@gmail.com>
Subject Need help regarding Lucene index/query
Date Sun, 05 Jul 2009 05:29:52 GMT

I want to have a "citystate" field in Lucene index which will store various
city state values like:

Chicago, IL 
Boston, MA 
San Diego, CA 
How do i store these values(shud it be tokenized or non-tokenized?) in
Lucene and 

how do I generate a query (should it be phrasequery or termquery or
something else?) which gets me all records whose citystate contain: Chicago,
IL OR Boston, MA OR San Diego, CA ??

I would appreciate if i can get help with the code as well.

Thanks.

-- 
View this message in context: http://www.nabble.com/Need-help-regarding-Lucene-index-query-tp24340331p24340331.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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