You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Anton Potehin <an...@orbita1.ru> on 2006/01/19 15:44:26 UTC

non-standard query

I've the following problem:

I've a big number of documents indexed.

 

Suppose that the search query contains 20 terms. It is necessary to find
all documents which contains at least 5 terms from search query. 

Is it possible to implement? If yes, what problems may arise during the
solving of this task?

 


Re: non-standard query

Posted by Yonik Seeley <ys...@gmail.com>.
Check out minNrShouldMatch in BooleanQuery in the latest lucene
version (1.9 dev version in subversion).

-Yonik

On 1/19/06, Anton Potehin <an...@orbita1.ru> wrote:
> Suppose that the search query contains 20 terms. It is necessary to find
> all documents which contains at least 5 terms from search query.

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