Exact searches with PhraseQuery

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Exact searches with PhraseQuery

Vijay Santhanam
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: [hidden email]
For additional commands, e-mail: [hidden email]