Sunday, April 1, 2018

FW: MatchMode in Dismax parser

-----Original Message-----
From: iamluckysharma.0910@gmail.com [mailto:iamluckysharma.0910@gmail.com]
Sent: 29 March 2018 13:13
To: solr-user@lucene.apache.org
Subject: MatchMode in Dismax parser

Just a suggestion , Shouldn't we need to use Math.round instead of direct
int when watch mode is in %, example i have 3 boolean clauses if i go for
mm=50%, currently it reduce it to ~1, instead it can be ~2,

another example could be when we have 5 boolean clauses and mm=75%, we get
calc as 3.75 currently it took 3, so instead of 3 it should have taken 4. as
Math.round()

No comments:

Post a Comment