GitHub user MighTguY opened a pull request:
https://github.com/apache/lucene-solr/pull/350
SOLR match mode change for the rouding off instead of taking floor
Instead of directly using the floor of the mm %, we need to take the round
of value,
Ecample,
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()
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MighTguY/lucene-solr fix/FixForMatchMode
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/350.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #350
----
commit a01f5ae151ba2777bc57b22f1aba41af551d6a1c
Author: Lucky Sharma <lsharma3@...>
Date: 2018-04-03T08:50:09Z
SOLR match mode change for the rouding off instead of taking floor
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]