: I need a minimum should match only on some fields, not on all.

You need to elaborate more on how you want things to work -- you've only 
provided one example doc and one example quer, and indicated that you want 
them to match -- you haven't explained:
  a) what docs should *not* match the query you listed
  b) what queries should *not* match the doc you listed
  c) what types of URLs you've already tried


In particular, the example you listed will match the query you've listed 
if mm=100% ...

: Let me give you an example:
: title: "Breaking News: New information about Solr 1.5"
: category: development
: tag: Solr News
: 
: If I am searching for "Solr development", I want to return this doc,
: although I defined a minimum should match of 100%, because 100% of the query
: match the *whole* document. 
: At the moment, 100% applies only if 100% of the query match a field. 

no, it doesn't. MM applies to the number of clauses in the outermost 
BooleanQuery.  Each clause corrisponds to one "chunk" of data from 
your query string and consists of a DisjunctionMaxQuery for that 
"chunk" across each of your "qf" fields.

so something like this...

  q=solr development & qf=title^5 category & mm=100%

...should in fact match that document.

-Hoss

Reply via email to