jpountz commented on a change in pull request #595: Load freqs lazily in
Postings
URL: https://github.com/apache/lucene-solr/pull/595#discussion_r298502690
##########
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:
The reasoning here is that if we call nextDoc() then we likely need the
frequency?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]