jimczi commented on a change in pull request #1024: LUCENE-9050: MultiTermIntervalsSource should call visitLeaf() in visit URL: https://github.com/apache/lucene-solr/pull/1024#discussion_r349052137
########## File path: lucene/queries/src/test/org/apache/lucene/queries/intervals/TestIntervals.java ########## @@ -770,6 +829,8 @@ public void testPrefix() throws IOException { }); assertEquals("Automaton [p*] expanded to too many terms (limit 1)", e.getMessage()); } + + checkVisits(Intervals.prefix(new BytesRef("p")), 1); Review comment: Can you add the same for the `testWildcard` below ? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org