Re: Changing Similarity without re-indexing (for example from default to BM25)

2015-08-19 Thread Ahmet Arslan
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

Re: Changing Similarity without re-indexing (for example from default to BM25)

2015-08-19 Thread Ahmet Arslan
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.

Re: Changing Similarity without re-indexing (for example from default to BM25)

2015-08-19 Thread Upayavira
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

Changing Similarity without re-indexing (for example from default to BM25)

2015-08-19 Thread Tom Burton-West
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