> Now, I want to create an extra rule: > If the query contains on 9 words, I want to make sure, that > 6 of them have > to occur within a document or else it would not be > responsed to the user. >
I think you are asking DisMaxRequestHandler's mm (Minimum 'Should' Match) parameter. http://wiki.apache.org/solr/DisMaxRequestHandler#mm_.28Minimum_.27Should.27_Match.29