You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2019/11/21 12:16:48 UTC

[GitHub] [lucene-solr] jimczi commented on a change in pull request #1024: LUCENE-9050: MultiTermIntervalsSource should call visitLeaf() in visit

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org