Implenting custom Solr scoring via a custom QParserPlugin with a CustomScoreProvider We had a requirement to change the score that Solr returns using our own linguistic scoring system. Now Solr/lucene documentation strongly advises against using your own scoring formula, outside TF/IDF, which can be altered by subclassing the Similarity class. This was not an option in our case, since we needed to provide our own score, based on our linguistic analysis of the query vs each of the returned documents. After doing a lot of on-line research on the proper way to achieve this,
Read full article from Search Area: Implenting custom Solr scoring via a custom QParserPlugin with a CustomScoreProvider
No comments:
Post a Comment