Re: Score relevancy

2018-10-25 Thread Walter Underwood
Use a bf of 10 * RANK. That will give the same ordering as dividing the score by 10 and adding RANK. There are problems with additive boosts, so I strongly recommend looking at the “boost” parameter, which is a multiplicative boost. That is more stable over a wide range of score values. wunder

Re: Score relevancy

2018-10-25 Thread Amjad Khan
We use ranking below 100 and yes it is float. > On Oct 25, 2018, at 1:08 PM, David Hastings > wrote: > > is this RANK value stored as a float/integer? and whats the range? one > idea is you could use edismax and have a really possible long boost query: > RANK:[1 TO 2]^10 OR RANK:[3 TO 4]^9 >

Re: Score relevancy

2018-10-25 Thread David Hastings
is this RANK value stored as a float/integer? and whats the range? one idea is you could use edismax and have a really possible long boost query: RANK:[1 TO 2]^10 OR RANK:[3 TO 4]^9 but this isnt actually a great idea and gets sloppy fast. you could apply boost at index time, or a function query

Score relevancy

2018-10-25 Thread Amjad Khan
Hi Is there a way to achieve the following - We have a RANK field in each document, and essentially, I would like my score to be influenced by this RANK as follows - score = score*0.1 + RANK How can I achieve this with function queries? Thanks!