|
19 | 19 | */ |
20 | 20 | package org.elasticsearch.index.codec.postings; |
21 | 21 |
|
| 22 | +import org.apache.lucene.backward_codecs.lucene90.blocktree.CompressionAlgorithm; |
22 | 23 | import org.apache.lucene.backward_codecs.lucene90.blocktree.FieldReader; |
23 | 24 | import org.apache.lucene.backward_codecs.lucene90.blocktree.Lucene90BlockTreeTermsReader; |
24 | 25 | import org.apache.lucene.codecs.BlockTermState; |
|
61 | 62 | import java.util.List; |
62 | 63 | import java.util.Objects; |
63 | 64 |
|
| 65 | +import static org.apache.lucene.backward_codecs.lucene90.blocktree.Lucene90BlockTreeTermsReader.TERMS_INDEX_CODEC_NAME; |
| 66 | +import static org.apache.lucene.backward_codecs.lucene90.blocktree.Lucene90BlockTreeTermsReader.TERMS_INDEX_EXTENSION; |
| 67 | +import static org.apache.lucene.backward_codecs.lucene90.blocktree.Lucene90BlockTreeTermsReader.TERMS_META_CODEC_NAME; |
| 68 | +import static org.apache.lucene.backward_codecs.lucene90.blocktree.Lucene90BlockTreeTermsReader.TERMS_META_EXTENSION; |
64 | 69 | import static org.apache.lucene.util.fst.FSTCompiler.getOnHeapReaderWriter; |
65 | 70 |
|
66 | 71 | /* |
@@ -242,14 +247,6 @@ public final class Lucene90BlockTreeTermsWriter extends FieldsConsumer { |
242 | 247 | static final String TERMS_EXTENSION = "tim"; |
243 | 248 | static final String TERMS_CODEC_NAME = "BlockTreeTermsDict"; |
244 | 249 |
|
245 | | - /** Extension of terms index file */ |
246 | | - static final String TERMS_INDEX_EXTENSION = "tip"; |
247 | | - static final String TERMS_INDEX_CODEC_NAME = "BlockTreeTermsIndex"; |
248 | | - |
249 | | - /** Extension of terms meta file */ |
250 | | - static final String TERMS_META_EXTENSION = "tmd"; |
251 | | - static final String TERMS_META_CODEC_NAME = "BlockTreeTermsMeta"; |
252 | | - |
253 | 250 | // public static boolean DEBUG = false; |
254 | 251 | // public static boolean DEBUG2 = false; |
255 | 252 |
|
|
0 commit comments