lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay Santhanam" <vi...@spectrumwired.com>
Subject Exact searches with PhraseQuery
Date Wed, 01 Aug 2007 01:58:22 GMT
Hi Guys,

For some reason, I said I was using "PrefixQuery" for exact queries.
What I meant to say is PhraseQuery... but the editor between my brain and
fingers had gone home.

The TermQuery idea may be the simplest solution, because I store the name
un-tokenized for sorting purposes.

Otherwise;  Between SpanFirstQuery, RegexQuery and the many other solutions
at 
http://www.nabble.com/Search-for-docs-containing-only-a-certain-word-in-a-sp
ecified-field--tf3655925.html

I should have a good solution.

Thanks for your help Guys!


Vijay Santhanam
B.Eng.(Soft.)
Spectrum Wired - Software Engineer

T: +61 2 4925 3266
F: +61 2 4925 3255
M: +61 407 525 087
W: www.spectrumwired.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