Hello!

> : I've got a problem and maybe someone had a similar one ;) I want to
> : 'force' dismax to make a query like the following one:
> : +title:foo^100 desc:foo
> : 
> : The name and desc fields are only an exmaple, there can be a multiple
> : fields that lay under the name of 'title' and 'desc'.
> : 
> : What I try to achieve is get the documents that have a match in both
> : the title and desc fields or only in the title and exclude the documents
> : that only have a match in the desc field.

> Deja-Vu...

> http://www.lucidimagination.com/search/document/3551f130b6772799/excluding_docs_from_results_based_on_matched_field

> -Hoss

Thanks for the answer, the problem is that the query like this:

q=foo&defType=dismax&qf=title&bq={!dismax qf='title desc' v=$q}

causes exception in Solr - "infinite recursion detected".

-- 
Regards,
 Rafał Kuć
 http://solr.pl

Reply via email to