Re: MatchMode in Dismax parser

2018-04-03 Thread lsharma3
Hi Shawn, My code is ready, I just need to raise the PR for the same, Can you please guide me to raise my First PR for the SOLR. Regards, Lucky Sharma -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: MatchMode in Dismax parser

2018-04-03 Thread lsharma3
Hi Shawn, I have already made the changes for this, can you guid e me to raise my first PR :) . It would be a great help Regards, Lucky Sharma -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: MatchMode in Dismax parser

2018-04-02 Thread Emir Arnautović
Hi, In case you want to round up, you can use negative numbers and percentage of failed matches so 75% of matches rounded up can be written as -25%. HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ >

Re: MatchMode in Dismax parser

2018-03-29 Thread Shawn Heisey
On 3/29/2018 1:42 AM, iamluckysharma.0...@gmail.com wrote: 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 wh

MatchMode in Dismax parser

2018-03-29 Thread iamluckysharma . 0910
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.