msokolov commented on PR #13383: URL: https://github.com/apache/lucene/pull/13383#issuecomment-2119278950
I don't really like that we have to expose these internal classes purely to do class casts. Also, this only covers the `LongValuesSource` case but wouldn't we want to cover other numeric types as well? I wonder if we could add some kind of check `ValuesSource.minValue/maxValue` or `ValuesSource.isRangeComplete` or so that could be used more generically? -- 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