Skip to content

Commit bad0585

Browse files
committed
Refactor - move SemanticTextIndexOptions
1 parent 64b787f commit bad0585

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper/SemanticTextField.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
package org.elasticsearch.xpack.inference.mapper;
99

1010
import org.elasticsearch.ElasticsearchException;
11-
import org.elasticsearch.cluster.metadata.SemanticTextIndexOptions;
1211
import org.elasticsearch.common.bytes.BytesReference;
1312
import org.elasticsearch.common.xcontent.XContentHelper;
1413
import org.elasticsearch.common.xcontent.XContentParserUtils;

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapper.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import org.apache.lucene.util.BitSet;
2424
import org.elasticsearch.ResourceNotFoundException;
2525
import org.elasticsearch.cluster.metadata.InferenceFieldMetadata;
26-
import org.elasticsearch.cluster.metadata.SemanticTextIndexOptions;
2726
import org.elasticsearch.common.Strings;
2827
import org.elasticsearch.common.bytes.BytesReference;
2928
import org.elasticsearch.common.xcontent.XContentHelper;

server/src/main/java/org/elasticsearch/cluster/metadata/SemanticTextIndexOptions.java renamed to x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper/SemanticTextIndexOptions.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
/*
22
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3-
* or more contributor license agreements. Licensed under the "Elastic License
4-
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
5-
* Public License v 1"; you may not use this file except in compliance with, at
6-
* your election, the "Elastic License 2.0", the "GNU Affero General Public
7-
* License v3.0 only", or the "Server Side Public License, v 1".
3+
* or more contributor license agreements. Licensed under the Elastic License
4+
* 2.0; you may not use this file except in compliance with the Elastic License
5+
* 2.0.
86
*/
97

10-
package org.elasticsearch.cluster.metadata;
8+
package org.elasticsearch.xpack.inference.mapper;
119

1210
import org.elasticsearch.ElasticsearchException;
1311
import org.elasticsearch.common.Strings;

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapperTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest;
2828
import org.elasticsearch.cluster.ClusterChangedEvent;
2929
import org.elasticsearch.cluster.metadata.IndexMetadata;
30-
import org.elasticsearch.cluster.metadata.SemanticTextIndexOptions;
3130
import org.elasticsearch.common.CheckedBiConsumer;
3231
import org.elasticsearch.common.CheckedBiFunction;
3332
import org.elasticsearch.common.Strings;

0 commit comments

Comments
 (0)