shubhamvishu commented on PR #16799:
URL: https://github.com/apache/lucene/pull/16799#issuecomment-7110280549

   > IMO for more comprehensive benefits + simpler code: we should (1) add 
"off-heap bulk-scoring" generically (including the Panama path), and (2) 
promote MemorySegment based vector scoring functions to VectorUtil.
   
   +1 to this. I'd prefer we do this in similar way of [how its enabled for 
scoring a single node 
here](https://github.com/apache/lucene/blob/main/lucene/core/src/java25/org/apache/lucene/internal/vectorization/Lucene99MemorySegmentByteVectorScorer.java#L122-L126)
 for the new bulk scoring API proposed in 
https://github.com/apache/lucene/pull/17013 (once its merged - so that makes 
this dependent on that one) and instead of adding a 
`Lucene104NativeScalarQuantizedVectorScorer‎`, we switch to native variant way 
lower in the abstraction layer. 


-- 
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