Apache Solr open-source search software
LUCENE-3892: typos
Robert Muirde27a9b87d54
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java b/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.javaindex f8b352b91db..4d6f1fea0fe 100644--- a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java+++ b/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java@@ -107,7 +107,7 @@ final class BlockPostingsReader extends PostingsReaderBase {@Overridepublic void init(IndexInput termsIn) throws IOException {- // Make sure we are talking to the matching past writer+ // Make sure we are talking to the matching postings writerCodecUtil.checkHeader(termsIn,BlockPostingsWriter.TERMS_CODEC,BlockPostingsWriter.VERSION_START,@@ -880,7 +880,7 @@ final class BlockPostingsReader extends PostingsReaderBase {// TODO: in theory we could avoid loading frq block// when not needed, ie, use skip data to load how far to- // seek the pos pointe ... instead of having to load frq+ // seek the pos pointer ... instead of having to load frq// blocks only to sum up how many positions to skipprivate void skipPositions() throws IOException {// Skip positions now:@@ -1362,7 +1362,7 @@ final class BlockPostingsReader extends PostingsReaderBase {// TODO: in theory we could avoid loading frq block// when not needed, ie, use skip data to load how far to- // seek the pos pointe ... instead of having to load frq+ // seek the pos pointer ... instead of having to load frq// blocks only to sum up how many positions to skipprivate void skipPositions() throws IOException {// Skip positions now:diff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java b/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.javaindex 206ec3d1713..169219c4fd1 100644--- a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java+++ b/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java@@ -99,7 +99,7 @@ final class BlockSkipReader extends MultiLevelSkipListReader {* Trim original docFreq to tell skipReader read proper number of skip points.** Since our definition in BlockSkip* is a little different from MultiLevelSkip*- * This trimed docFreq will prevent skipReader from:+ * This trimmed docFreq will prevent skipReader from:* 1. silly reading a non-existed skip point after the last block boundary* 2. moving into the vInt block*