Re: SOLR and string comparison functions

2017-09-18 Thread Shawn Heisey
On 9/18/2017 4:01 PM, Dariusz Wojtas wrote: > There is one very important requirement. > No marther how many parameters are out there, the total result score cannot > exceed 1 (100%). Right there, you've got an unrealistic requirement. Scores are not absolute, they only have meaning relative to e

Re: SOLR and string comparison functions

2017-09-18 Thread Dariusz Wojtas
Hi Emir, I am calculating a "normalizzed" score, as it will be later used by automatic decisioning processes to find if the result found "matches enough". For example I might create rule to decide if found result score is higher that 97% (matches), otherwise it is just a noise. I've been thinking

Re: SOLR and string comparison functions

2017-09-18 Thread Emir Arnautović
Hi Darius, This seems to me like misuse/misunderstanding of Solr. As you probably noticed, Solr score is not normalised - you cannot compare scores of two queries and tell if one result match better query than the other. There are some techniques to achieve something close, but that is not that

SOLR and string comparison functions

2017-09-18 Thread Dariusz Wojtas
Hi, I am working on an application that searches for entries that may be queried by multiple parameters. These parameters may be sent to SOLR in different sets, each parameter with it's own weight. Values for the example below might be as follows: firstName=John& firstName.weight=0.2& id=Aw3456345