lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: (~) opertor query....
Date Tue, 18 Dec 2007 09:21:29 GMT

: You can look at org.apache.lucene.search.MultiPhraseQuery which does
: something similar to what you ask. From its javadoc:

good call .. funny thing, i was just pointing out MultiPhraseQuery as a 
way to meat this need only a few days ago, but for some reason it didn't 
occur to me in the thread.

if you build a custom query parser, you can easily use the 
WildCardTermEnumerator to get the list of all matching terms to use to 
build up a MultiPhraseQuery.


: > :           I am parsing this query:  "Auto*  machine"~4.


-Hoss


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