hossman opened a new issue, #15406: URL: https://github.com/apache/lucene/issues/15406
### Description ValueSource has two methods for converting to/from DoublesValueSource that wrap the underlying input -- but these methods (and the underlying wrapper classes) are ignorant of each other, so "round trip" conversion winds up creating double wrappers. It's pretty easy to modify these helpers such that a "round trip" conversion returns the original input, so that users can get a more efficient result in situations where might start with XXX, convert it to YYY to pass to some intermediate code, which then needs to convert back to XXX for execution. [lucene-ValueSourceAsDoubleValues-optimize-roundtrip.patch](https://github.com/user-attachments/files/23346804/lucene-ValueSourceAsDoubleValues-optimize-roundtrip.patch) -- 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]
