Hi,
I am working on the migration of SOLR 5.4 to 7.1 and I have not been able to 
get the same order in the results. Looks like the problem is with the bf 
parameter.

We use edismax with both boost and bf functions. It is important to have some 
functions as bf so they add to the score and the impact is less than the ones 
in the boost parameter.

I have tried overriding the similarity class by specifying the following in 
schema.xml but I am still not able to get the same score and order of results 
with equal queries in 5.4 and 7.1
<similarity class="org.apache.lucene.search.similarities.ClassicSimilarity" />

We are also using qf to boost some query fields.

Enabling debug=true I noticed that 5.4 uses the queryNorm as the boost value of 
the bf formulas. Version 7.1 is using a boost value of 1 in all bf formulas.

Is there a way to configure 7.1 so it uses queryNorm in bf and produces the 
same results as 5.4?

Thanks,
Homero.

Reply via email to