Check out minNrShouldMatch in BooleanQuery in the latest lucene version (1.9 dev version in subversion).
-Yonik On 1/19/06, Anton Potehin <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]