jpountz commented on a change in pull request #595: Load freqs lazily in 
Postings
URL: https://github.com/apache/lucene-solr/pull/595#discussion_r298630153
 
 

 ##########
 File path: 
lucene/core/src/java/org/apache/lucene/codecs/lucene50/Lucene50PostingsReader.java
 ##########
 @@ -391,22 +408,19 @@ public int nextDoc() throws IOException {
         return doc = NO_MORE_DOCS;
       }
       if (docBufferUpto == BLOCK_SIZE) {
-        refillDocs();
+        refillDocs(true);
 
 Review comment:
   This would be a bit simpler for sure, but I'd be curious whether it helps 
with performance?

----------------------------------------------------------------
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to