dsmiley commented on PR #14433:
URL: https://github.com/apache/lucene/pull/14433#issuecomment-2795033321

   The need is to incorporate a field's position length in a 
composable/flexible relevance formula.  A LongValues is the way to do that.  I 
understand a Lucene user could write a custom Similarity, which may be good for 
advanced search teams but most search teams would prefer to use use a flexible 
expression of some kind (hence a LongValues implementation at the Lucene layer) 
to trade some potential performance for expedience & simplicity (no-code).
   
   Maybe a name like simply `norm` would work, documented to be whatever the 
Similarity says it is.  Thus it wouldn't risk misadvertising itself as 
something it may not be.  The method I added to Similarity would then be named 
just `decodeNorm`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to