javanna commented on code in PR #16965:
URL: https://github.com/apache/lucene/pull/16965#discussion_r4466279931
##########
lucene/MIGRATE.md:
##########
@@ -19,6 +19,12 @@
## Migration from Lucene 11.x to Lucene 12.0
+### Explicit byte and float similarity vector search has been removed
(GITHUB#16965)
+
+The `Explicit` variants of `ByteVectorSimilarityQuery` and
`FloatVectorSimilarityQuery`
+have been removed in favor of the new `Adaptive` implementations.
+Replace any usages of `Explicit` with `Adaptive`.
Review Comment:
“Replace any usages of Explicit with Adaptive” is a bit too brief: the
constructors are not equivalent. Something like this would be enough:
> The `Explicit` variants of `ByteVectorSimilarityQuery` and
`FloatVectorSimilarityQuery`
have been removed. Use `Adaptive` instead. Drop `traversalSimilarity` and
pass
`resultSimilarity` plus an optional `decay` (default `0.5`); the
constructors are not
a drop-in rename.
##########
lucene/MIGRATE.md:
##########
@@ -19,6 +19,12 @@
## Migration from Lucene 11.x to Lucene 12.0
+### Explicit byte and float similarity vector search has been removed
(GITHUB#16965)
Review Comment:
This should be moved to the section around migrating to Lucene 11.0. can you
take care of that?
To clarify: the change will be merged to main and also backported to
branch_11x which 11.0 is going to be released from.
--
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]