To correct myself, the selected Similarity class can have a computeNorm method that calculates the "norm" value that will be stored in the index when the document is indexed, so changing the Similarity class will require reindexing if the implementation of the computeNorm method is different.

-- Jack Krupansky

-----Original Message----- From: Markus Jelsma
Sent: Monday, October 13, 2014 5:06 PM
To: solr-user@lucene.apache.org
Subject: RE: does one need to reindex when changing similarity class

Yes, if the replacing similarity has a different implementation on norms, you should reindex or gradually update all documents within decent time.



-----Original message-----
From:Ahmet Arslan <iori...@yahoo.com.INVALID>
Sent: Thursday 9th October 2014 18:27
To: solr-user@lucene.apache.org
Subject: Re: does one need to reindex when changing similarity class

How about SweetSpotSimilarity? Length norm is saved at index time?



On Thursday, October 9, 2014 5:44 PM, Jack Krupansky <j...@basetechnology.com> wrote:
The similarity class is only invoked at query time, so it doesn't
participate in indexing.

-- Jack Krupansky




-----Original Message----- From: Markus Jelsma
Sent: Thursday, October 9, 2014 6:59 AM
To: solr-user@lucene.apache.org
Subject: RE: does one need to reindex when changing similarity class

Hi - no you don't have to, although maybe if you changed on how norms are
encoded.
Markus



-----Original message-----
> From:elisabeth benoit <elisaelisael...@gmail.com>
> Sent: Thursday 9th October 2014 12:26
> To: solr-user@lucene.apache.org
> Subject: does one need to reindex when changing similarity class
>
> I've read somewhere that we do have to reindex when changing similarity
> class. Is that right?
>
> Thanks again,
> Elisabeth
>


Reply via email to