From 4a12e066bbd257e79d942cad1f96f14f72f8584e Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Fri, 24 Nov 2017 10:57:22 +0100 Subject: [PATCH] Clarify comment in CompressingStoredFieldsIndexWriter. --- .../codecs/compressing/CompressingStoredFieldsIndexWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/core/src/java/org/apache/lucene/codecs/compressing/CompressingStoredFieldsIndexWriter.java b/lucene/core/src/java/org/apache/lucene/codecs/compressing/CompressingStoredFieldsIndexWriter.java index b90abdfe59e..0372f2cc72f 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/compressing/CompressingStoredFieldsIndexWriter.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/compressing/CompressingStoredFieldsIndexWriter.java @@ -64,7 +64,7 @@ import org.apache.lucene.util.packed.PackedInts; *
  • For any block, the start pointer of the n-th chunk can be restored with * StartPointerBase + AvgChunkSize * n + StartPointerDeltas[n].
  • *
  • Once data is loaded into memory, you can lookup the start pointer of any - * document by performing two binary searches: a first one based on the values + * document chunk by performing two binary searches: a first one based on the values * of DocBase in order to find the right block, and then inside the block based * on DocBaseDeltas (by reconstructing the doc bases for every chunk).
  • *