Foolish me...override a static method...silly silly. Still, I think there must be some way. I don't care about the field normalization...there must be some way to make it return a constant 1 when using a new Similarity class.

Doron Cohen wrote:
"Mark Miller" <[EMAIL PROTECTED]> wrote on 19/12/2006 09:21:00:
LIA mentioned something about needing to rebuild the
index if you change Similarity's. That does not make
sense to me yet. It would seem you could alternate them.
What does scoring have to do with indexing?

For this part of your question, the length norms of fields are computed at
indexing time and stored in the index (as field norms). If your modified
Similarity changes the length norm computation, re-indexing is required.
See
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/Similarity.html#formula_norm


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to