From 030caba6cb9fe20fa41413aaf59b6ad6b58bd7d2 Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Fri, 11 Mar 2016 04:54:01 -0500 Subject: [PATCH] remove TODO that was in fact done --- lucene/core/src/java/org/apache/lucene/util/bkd/BKDWriter.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/lucene/core/src/java/org/apache/lucene/util/bkd/BKDWriter.java b/lucene/core/src/java/org/apache/lucene/util/bkd/BKDWriter.java index 5388bb3c97b..aa7e5dcbac7 100644 --- a/lucene/core/src/java/org/apache/lucene/util/bkd/BKDWriter.java +++ b/lucene/core/src/java/org/apache/lucene/util/bkd/BKDWriter.java @@ -1059,9 +1059,6 @@ public class BKDWriter implements Closeable { assert count > 0: "nodeID=" + nodeID + " leafNodeOffset=" + leafNodeOffset; writeLeafBlockDocs(out, heapSource.docIDs, Math.toIntExact(source.start), count); - // TODO: we should delta compress / only write suffix bytes, like terms dict (the values will all be "close together" since we are at - // a leaf cell): - // First pass: find the per-dim common prefix for all values in this block: Arrays.fill(commonPrefixLengths, bytesPerDim); for (int i=0;i