lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: Search for phrases
Date Tue, 15 Apr 2008 18:09:03 GMT
On Dienstag, 15. April 2008, palexv wrote:

> I have not tokenized phrases in index.
> What query should I use?
> Simple TermQuery does not work.

Probably PhraseQuery with an argument like "java dev" (no asterisk).

> If I try to use QueryParser , what analyzer should I use?

Probably KeywordAnalyzer. Please see the instructions in the FAQ that 
describe how to debug search problems if it doesn't work.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message