Spinoff from SOLR-8370 where we display Similarity class in use in the Admin UI.
SweetSpotSimilarity does not provide a toString method, so it will incorreclty print ClassicSimilarity.
Closing after 6.3.0 release.
Commit 22b0d5f4d21acaa3a28da5dec0654ecf102198c3 in lucene-solr's branch refs/heads/branch_6x from Jan Høydahl
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=22b0d5f ]
LUCENE-7496: Better toString for SweetSpotSimilarity
(cherry picked from commit c4b4830)
Commit c4b4830ac1c984e54e23c374ec7b83e598c7fc4b in lucene-solr's branch refs/heads/master from Jan Høydahl
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c4b4830 ]
Ok, I'll commit on thursday if no objections
+1 to the patch. I think being exhaustive is fine.
There are many config variables. Could perhaps be smarter in detecting whether baseline of hyperbolic is in use and print only the active set of params?