tteofili opened a new pull request, #13367:
URL: https://github.com/apache/lucene/pull/13367

   When indexing vectors, it is possible to use different vector formats 
depending on the field; in addition to that it's also possible (although not 
currently implemented) to have `Codecs` that can provide different vector 
formats "dynamically" even for a same field.
   To better _debug_ such situations, it would be helpful to have per field 
vector format information within `SegmentCommitInfo` (e.g. within the 
`attribtues`).
   
   This trivial PR adds `KnnVectorFormat#name` for each field to 
`SegmentInfo#attributes` in `PerFieldKnnVectorsFormat`.
   If a doc with `field1` is indexed with `Lucene99HnswVectorsFormat` and a doc 
with `field2` is indexed with `Lucene99HnswScalarQuantizedVectorsFormat`, 
`SegmentInfo#attributes` will have the following entries:
   
   * "KnnVectorFormat.field1" -> "Lucene99HnswVectorsFormat"
   * "KnnVectorFormat.field2" -> "Lucene99HnswScalarQuantizedVectorsFormat"
   


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