apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.69k stars 1.04k forks source link

Make it possible to inject Similarity in kNN classfier [LUCENE-6731] #7789

Closed asfimport closed 9 years ago

asfimport commented 9 years ago

For the sake of tweaking the ranking algorithm used by kNN classifier it'd be good to be able to specify the Similarity to use (at construction time) in the underlying IndexSearcher.


Migrated from LUCENE-6731 by Tommaso Teofili (@tteofili), resolved Aug 10 2015

asfimport commented 9 years ago

ASF subversion and git services (migrated from JIRA)

Commit 1695034 from @tteofili in branch 'dev/trunk' https://svn.apache.org/r1695034

LUCENE-6731 - added Similarity parameter to kNN