Hi again,
Here is a relevant/past discussion :
http://search-lucene.com/m/eHNlTDHKb17MW532
Ahmet
On Thursday, August 20, 2015 2:28 AM, Ahmet Arslan
wrote:
Hi Tom,
computeNorm(FieldInvertState) method is the only place where similarity is tied
to indexing process.
If you want to switch bet
Hi Tom,
computeNorm(FieldInvertState) method is the only place where similarity is tied
to indexing process.
If you want to switch between different similarities, they should share the
same implementation for the method. For example, subclasses of SimilarityBase
can be used without re-indexing.
warning: I'm no expert on other similarities.
Having said that, I'm not aware of similarities being used in the
indexing process - during indexing term frequency, document frequency,
field norms, and so on are all recorded. These are things that the
default similarity (TF/IDF) uses to calculate it
Hello all,
The last time I worked with changing Simlarities was with Solr 4.1 and at
that time, it was possible to simply change the schema to specify the use
of a different Similarity without re-indexing. This allowed me to
experiment with several different ranking algorithms without having to