Skip to content

Commit a44ab59

Browse files
committed
move per field dv code to dedicated package
1 parent 86b4d22 commit a44ab59

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

server/src/main/java/module-info.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,4 +475,5 @@
475475
exports org.elasticsearch.monitor.metrics;
476476
exports org.elasticsearch.plugins.internal.rewriter to org.elasticsearch.inference;
477477
exports org.elasticsearch.lucene.util.automaton;
478+
exports org.elasticsearch.index.codec.perfield;
478479
}

server/src/main/java/org/elasticsearch/index/codec/Elasticsearch900Lucene101Codec.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsFormat;
2020
import org.apache.lucene.codecs.perfield.PerFieldKnnVectorsFormat;
2121
import org.apache.lucene.codecs.perfield.PerFieldPostingsFormat;
22+
import org.elasticsearch.index.codec.perfield.XPerFieldDocValuesFormat;
2223
import org.elasticsearch.index.codec.zstd.Zstd814StoredFieldsFormat;
2324

2425
/**

server/src/main/java/org/elasticsearch/index/codec/XPerFieldDocValuesFormat.java renamed to server/src/main/java/org/elasticsearch/index/codec/perfield/XPerFieldDocValuesFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* License v3.0 only", or the "Server Side Public License, v 1".
88
*/
99

10-
package org.elasticsearch.index.codec;
10+
package org.elasticsearch.index.codec.perfield;
1111

1212
import org.apache.lucene.codecs.DocValuesConsumer;
1313
import org.apache.lucene.codecs.DocValuesFormat;

server/src/main/java/org/elasticsearch/index/codec/XPerFieldMergeState.java renamed to server/src/main/java/org/elasticsearch/index/codec/perfield/XPerFieldMergeState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* License v3.0 only", or the "Server Side Public License, v 1".
88
*/
99

10-
package org.elasticsearch.index.codec;
10+
package org.elasticsearch.index.codec.perfield;
1111

1212
import org.apache.lucene.codecs.FieldsProducer;
1313
import org.apache.lucene.index.DocValuesType;

server/src/main/java/org/elasticsearch/index/codec/tsdb/es819/DocValuesConsumerUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import org.apache.lucene.codecs.DocValuesProducer;
1313
import org.apache.lucene.index.FieldInfo;
1414
import org.apache.lucene.index.MergeState;
15-
import org.elasticsearch.index.codec.XPerFieldDocValuesFormat;
15+
import org.elasticsearch.index.codec.perfield.XPerFieldDocValuesFormat;
1616

1717
/**
1818
* Contains logic to determine whether optimized merge can occur.

server/src/test/java/org/elasticsearch/index/codec/tsdb/TsdbDocValueBwcTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import org.elasticsearch.core.SuppressForbidden;
3535
import org.elasticsearch.index.codec.Elasticsearch816Codec;
3636
import org.elasticsearch.index.codec.Elasticsearch900Lucene101Codec;
37-
import org.elasticsearch.index.codec.XPerFieldDocValuesFormat;
37+
import org.elasticsearch.index.codec.perfield.XPerFieldDocValuesFormat;
3838
import org.elasticsearch.index.codec.tsdb.ES87TSDBDocValuesFormatTests.TestES87TSDBDocValuesFormat;
3939
import org.elasticsearch.index.codec.tsdb.es819.ES819TSDBDocValuesFormat;
4040
import org.elasticsearch.test.ESTestCase;

0 commit comments

Comments
 (0)