lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucene-solr] romseygeek commented on a change in pull request #1037: LUCENE-9062: QueryVisitor.consumeTermsMatching
Date Tue, 26 Nov 2019 16:47:52 GMT
romseygeek commented on a change in pull request #1037: LUCENE-9062: QueryVisitor.consumeTermsMatching
URL: https://github.com/apache/lucene-solr/pull/1037#discussion_r350861011
 
 

 ##########
 File path: lucene/queries/src/java/org/apache/lucene/queries/intervals/MultiTermIntervalsSource.java
 ##########
 @@ -96,7 +96,7 @@ public MatchesIterator matches(String field, LeafReaderContext ctx, int
doc) thr
 
   @Override
   public void visit(String field, QueryVisitor visitor) {
-    visitor.visitLeaf(new IntervalQuery(field, this));
+    automaton.visit(visitor, new IntervalQuery(field, this), field);
 
 Review comment:
   It's the intervals equivalent of AutomatonQuery - it means that Intervals.multiterm() should
start working with the highlighter

----------------------------------------------------------------
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


Mime
View raw message