Re: does one need to reindex when changing similarity class

2014-10-14 Thread elisabeth benoit
thanks a lot for your answers!

2014-10-14 6:10 GMT+02:00 Jack Krupansky j...@basetechnology.com:

 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
 





RE: does one need to reindex when changing similarity class

2014-10-13 Thread Markus Jelsma
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
  
 


Re: does one need to reindex when changing similarity class

2014-10-13 Thread Jack Krupansky
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






does one need to reindex when changing similarity class

2014-10-09 Thread elisabeth benoit
I've read somewhere that we do have to reindex when changing similarity
class. Is that right?

Thanks again,
Elisabeth


RE: does one need to reindex when changing similarity class

2014-10-09 Thread Markus Jelsma
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
 


Re: does one need to reindex when changing similarity class

2014-10-09 Thread Jack Krupansky
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





Re: does one need to reindex when changing similarity class

2014-10-09 Thread Ahmet Arslan
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