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 Mon, 14 Apr 2008 19:13:50 GMT
On Montag, 14. April 2008, palexv wrote:

> For example I need to search for "java de*" and recieve "java
> developers", "java development", "developed by java" etc.

If your text is tokenized, this is not supported by QueryParser but you can 
create such queries using MultiPhraseQuery. If you don't tokenize a text 
like "java development" at whitespace characters, it's just like a single 
term for Lucene. A query like "java de*" should work then, just make sure 
you don't tokenize the search query either.



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

View raw message