uschindler commented on issue #12302:
URL: https://github.com/apache/lucene/issues/12302#issuecomment-1554052266

   I don't understand what's your intention is. The general setup is there. No 
infrastructure work needed anymore. The decision which variants of the code 
life in parallel is unrelated to this PR.
   
   Please keep on mind that not all code of Lucene can/may use those APIs at 
the moment, because vector specific apis can't be part of Lucene public API. So 
the pattern for other places would be similar to this one. Implement all 
algorithms with a simple API in the provider and call it from VectorUtil. More 
complex integrations like postings lists may need more thoughts.
   
   The amount of work for keeping support for various java versions depends on 
the number of implementations in the provider and how complex the glue code to 
lucene is. The current vector dot product is do simple, you could duplicate the 
code to support various versions 
   
   But for now let's start with java 20. The vector code in java 17 is outdated 
and has several performance traps. Memorymapping uding segments was added in 19 
to Lucene. So don't let's go before that point in time.
   
   As Robert said: in contrast to mmap which is a preview API and FULLY 
supported by Lucene, the incubator code requires users to add command line 
flags and the apis are still in flux, I would only keep rather recent versions.
   
   We do not need to make any guarantee to which versions are supported. If a 
specific version falls out of our support matrix, the code will fall back to 
the implementation that's already there. You can be sure that we will make no 
official guarantees. It may change with every Lucene release. It will not break 
for anybody, just get slower, so no support guarantees are needed. We are an 
open force project not a commercial project!


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