lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Proximity Searches behavior
Date Thu, 10 Jun 2004 13:43:56 GMT
Erik Hatcher wrote:
> If you want something that does "quick fox*" where "quick" must be 
> followed by something starting with "fox", you'll have to do this 
> through the API, perhaps using the awkwardly named PhrasePrefixQuery, 
> which does support slop also.  It would be up to you to do the term 
> expansions for all terms beginning with "fox" in order to use this.

Note that, instead of using PhrasePrefixQuery, you could also implement 
this with SpanNear and SpanOr.

Doug


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message