: the response.  When I add "&mm=50%25" to the URL in my browser (%25 being the
: URL encoding for the percent symbol), the response changes the mm value to
: "50%" as expected, overriding the value in solrconfig.xml.  I have not tried

that is the value of hte mm param, but elisabeth seems to be asking about 
the actually numeric value computed from the mm param (ie: if there are 4 
clauses, and mm=50%, then the final value is "2")

it's not entirely clear to me *how* this value would be useful to clients, 
so there may be an XY Problem here we should discuss -- but more 
specificly there is no generic way that we could add the final computed mm 
value in the response, since there is no garuntee that there will be only 
one final computed value.  dismax is a QParser, and using nested QParsers 
there could be multiple instances of dismax used in a single request, with 
distinct mm values computed for each of them.

But like i said: there may be an XY Problem here ... what is the end 
goal?  how would you use this value if you had it?

https://people.apache.org/~hossman/#xyproblem
XY Problem

Your question appears to be an "XY Problem" ... that is: you are dealing
with "X", you are assuming "Y" will help you, and you are asking about "Y"
without giving more details about the "X" so that we can understand the
full issue.  Perhaps the best solution doesn't involve "Y" at all?
See Also: http://www.perlmonks.org/index.pl?node_id=542341


-Hoss

Reply via email to