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 #985: LUCENE-9031: test unified highlighter on intervals queries
Date Tue, 05 Nov 2019 14:34:47 GMT
romseygeek commented on a change in pull request #985: LUCENE-9031: test unified highlighter
on intervals queries
URL: https://github.com/apache/lucene-solr/pull/985#discussion_r342595267
 
 

 ##########
 File path: lucene/queries/src/java/org/apache/lucene/queries/intervals/CachingMatchesIterator.java
 ##########
 @@ -27,8 +27,9 @@
 class CachingMatchesIterator extends FilterMatchesIterator {
 
   private boolean positioned = false;
-  private int[] posAndOffsets = new int[16];
-  private int count = 0;
+  private int[] posAndOffsets = new int[4*4];
+  private Query[] mathchingQueries = new Query[4];
 
 Review comment:
   nit: spelling, should be `matchingQueries`

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