lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1370180 - in /lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block: BlockSkipReader.java BlockSkipWriter.java
Date Tue, 07 Aug 2012 11:16:01 GMT
Author: mikemccand
Date: Tue Aug  7 11:16:01 2012
New Revision: 1370180

URL: http://svn.apache.org/viewvc?rev=1370180&view=rev
Log:
LUCENE-3892: up skipMultiplier to 8 (vs 4): it seems to help a bit

Modified:
    lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java
    lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipWriter.java

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=1370180&r1=1370179&r2=1370180&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
Tue Aug  7 11:16:01 2012
@@ -69,7 +69,7 @@ final class BlockSkipReader extends Mult
   private int lastPosBufferUpto;
 
   public BlockSkipReader(IndexInput skipStream, int maxSkipLevels, int blockSize, boolean
hasPos, boolean hasOffsets, boolean hasPayloads) {
-    super(skipStream, maxSkipLevels, blockSize, 4);
+    super(skipStream, maxSkipLevels, blockSize, 8);
     this.blockSize = blockSize;
     docPointer = new long[maxSkipLevels];
     if (hasPos) {

Modified: lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipWriter.java?rev=1370180&r1=1370179&r2=1370180&view=diff
==============================================================================
--- lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipWriter.java
(original)
+++ lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipWriter.java
Tue Aug  7 11:16:01 2012
@@ -71,7 +71,7 @@ final class BlockSkipWriter extends Mult
   public BlockSkipWriter(int maxSkipLevels, int blockSize, int docCount, IndexOutput docOut,
IndexOutput posOut, IndexOutput payOut) {
     // nocommit figure out what skipMultiplier is best (4 is
     // total guess):
-    super(blockSize, 4, maxSkipLevels, docCount);
+    super(blockSize, 8, maxSkipLevels, docCount);
     this.docOut = docOut;
     this.posOut = posOut;
     this.payOut = payOut;



Mime
View raw message