Hello.

Currently, edismax applies mm to the combination of all fields listed in qf.

I would like to have mm applied individually to those fields instead.

I have seen this asked before.


For instance, the query:
1)
defType=edismax&q=leo foster&mm=2&qf=title^5
summary^2&pf=title^5&fq=contentsource:src1

would return a doc where
title: leo lee
summary:Joe foster

to avoid this, I ended up doing nested query with solr 3.5 like this:

defType=lucene&q=_query_:"{!edismax qf=$myqf1 pf=$myqf1 mm=$mymm
v=$qq}" OR _query_:"{!edismax qf=$myqf2 pf=$myqf2 mm=$mymm
v=$qq}"&mymm=2&qq=leo
foster&myqf1=title^5&myqf2=summary^2&fq=contentsource:src1


And it get more complex as the number of fields in qf increases.


For the original query 1), having an additional parameter like:

- mm.qf=true (tell solr to do mm on individual fields in qf )
or
- mm.pf=true (tell solr to do mm on individual fields in pf)

or anything along the line would be useful.


I was just wondering: Is it worth opening a Jira ticket for this?


Thanks.

Arcadius.

Reply via email to