lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Sokolov <soko...@ifactory.com>
Subject Re: Advanced NearSpanQuery
Date Wed, 13 Jul 2011 13:23:00 GMT
Can you wrap a SpanNearQuery around an DisjunctionSumQuery with 
minNrShouldMatch=8?

-Mike

On 07/13/2011 08:53 AM, Jeroen Lauwers wrote:
> Hi,
>
> I was wondering if anyone could help me on this:
>
> I want to search for:
>
> 1.       a set of words (eg. 10)
>
> 2.       only a couple of words may come in between (eg. 3) in the result document
>
> 3.       of the supplied set of (10) words, at least 8 must be present (or in other words:
2 of the supplied words can be missing)
>
> I use the SpanNearQuery for (1.) and (2.), but it is the third part that's lacking.
>
> Any ideas?
>
> Jeroen
>
>    

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