harshavamsi opened a new issue, #12686: URL: https://github.com/apache/lucene/issues/12686
### Description While working with the `IndexOrDocValuesQuery`, I noticed that highlighting was broken. This is potentially caused by the extract function that does not check if the query is indexordocvalue. https://github.com/apache/lucene/blob/main/lucene/highlighter/src/java/org/apache/lucene/search/highlight/WeightedSpanTermExtractor.java#L128 ### Version and environment details Lucene version 9.8.0 -- 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]
