msokolov commented on PR #15090:
URL: https://github.com/apache/lucene/pull/15090#issuecomment-3292182686

   It reminds me of something I learned about at ApacheCoC where @kaivalnp 
presented the Faiss vectors format -- FAISS expects its users to provide a 
complex string describing the format it supports including the algorithm name, 
the parameters specific to that algorithm, pre-steps like dimensionality 
reduction and quantization, and even ganging together multiple steps in case 
there is a re-scoring phase.  All of this encoded in a compact incomprehensible 
string, that of course can have syntax errors and impossible combinations.  In 
theory we could support something like that, but I think (?) we'd prefer 
something more structured and less error-prone. I hope we can find a middle 
ground between our current situation, which is totally safe but extremely 
rigid, and something totally loose that can only do runtime checking like FAISS 
has.  I guess people working in Java are here at least in part for the 
type-safety and compile-time checking, but perhpas we could create a format - 
builder?
   Java developers love builders, right :)?


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