mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 21:39:25 +00:00
This commit adds a consumeTermsMatching() method to QueryVisitor, allowing queries that match against a class of terms to report this back to the visitor. It also changes highlighting code to use this new method, replacing the current implementation via instanceof checks.