Hi
Is it possible to normalize the per field score before applying the boosts?

let say 2 documents match my search criteria on the query fields *title* and
*description* using Dismax Parser with individual boosts.

q=cookie&qf = text^2 description^1

let's say below are the TF-IDF scores for the documents:
Doc1:
title - 2    description - 4
Doc2:
title - 2.5    description - 3

Idea is to normalize with the max value before applying the boost. 

Doc1:
title - (2/4) *2 (boost of title)   description - (4/4) * 1(boost of
description)
Doc2:
title - (2.5/4) * 2   description - (3/4) * 1 

Is this possible? Or Do I need to do re-ranking/LTR here?

Can you guys please suggest if this is doable?




--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to