Hello Fiz, Are you sure you are using TF*IDF? It is no longer the default function in Solr 8. Anyway, if you do, you can implement a custom TFIDFSimilarity [1] and return just 1.0 for the idf() and tf() functions.
Regards, Markus [1] https://lucene.apache.org/core/8_0_0/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html Op do 14 apr. 2022 om 14:52 schreef Fiz N <fiznewy...@gmail.com>: > Hello Experts, > > In our project we are using SOLR 8.11.1 in Standalone mode in Windows > server box. > > We have implemented a search mechanism by using pure keyword match and > boosting the keywords as per business needs. For each search result, match > percentage is derived using the obtained SOLR document score. The SOLR > document score is the summation of individual keyword scores which is > derived by using boost factor and TF/IDF values of the keyword. > > As per requirements, in our case the resultant scores should be dependent > only on the boost factor, whereas the implicit TF/IDF factor is causing > deviation in the expected results and also causing uncertainty in the > resultant ranking. > > So we are looking for better approaches to eliminate/neutralize the SOLR > TF/IDF factor. > > Please do let us know your suggestions in removal of TF/IDF factor or any > other solution approach that we can consider in this case. > > Thanks > Fiz Fareedh. >