Skip to content

armgit / solr

Public Imported from GitHub
0

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.java
index 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 {
@Override
public 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 writer
CodecUtil.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 skip
private 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 skip
private 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.java
index 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
*