uschindler commented on PR #12281:
URL: https://github.com/apache/lucene/pull/12281#issuecomment-1587551398

   Hi, I added the dimension check to the constructor which uses a predefined 
field type. For the query it can't be done in the constructor, as we do not 
know the field type. The query will fail later, so an explicit check is not 
needed.
   
   I think this is ready to be merged. @jbellis we should open a separate issue 
to make sure that we find a solution for vectors where the float overflows 
(infinity) leading to infinite scores. I strongly disagree to use double math, 
we should maybe have some documentation checks like proposed above. We could 
also enforce it, but that's harder to decide!


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to