uschindler commented on code in PR #16431:
URL: https://github.com/apache/lucene/pull/16431#discussion_r3676519624
##########
lucene/core/src/java/org/apache/lucene/search/DoubleValuesSource.java:
##########
@@ -46,6 +47,16 @@
*/
public abstract class DoubleValuesSource implements SegmentCacheable {
+ /** Monotonicity direction of a decoder function */
+ public enum Monotonicity {
+ /** Increasing function */
+ INCREASING,
Review Comment:
So I think terms are correct. And constant is allowed and can be both. It
would also work fine, because in case of a constant function the
`getMinScore()` and `getMaxScore()` would both return the same value, so the
result for a block with constant function is same for both increasing or
decreasing.
--
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]