You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/08/20 14:56:46 UTC
svn commit: r1375000 - in
/lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block:
BlockPostingsReader.java BlockSkipReader.java
Author: rmuir
Date: Mon Aug 20 12:56:45 2012
New Revision: 1375000
URL: http://svn.apache.org/viewvc?rev=1375000&view=rev
Log:
LUCENE-3892: typos
Modified:
lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java
lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java
Modified: lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java?rev=1375000&r1=1374999&r2=1375000&view=diff
==============================================================================
--- lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java (original)
+++ lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java Mon Aug 20 12:56:45 2012
@@ -107,7 +107,7 @@ final class BlockPostingsReader extends
@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
// 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
// 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:
Modified: lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java?rev=1375000&r1=1374999&r2=1375000&view=diff
==============================================================================
--- lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java (original)
+++ lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java Mon Aug 20 12:56:45 2012
@@ -99,7 +99,7 @@ final class BlockSkipReader extends Mult
* 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
*