Skip to content

Commit d8b18ac

Browse files
committed
update msg
1 parent 13c713c commit d8b18ac

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,10 @@
130130
*/
131131
public class SemanticTextFieldMapper extends FieldMapper implements InferenceFieldMapper {
132132
private static final Logger logger = LogManager.getLogger(SemanticTextFieldMapper.class);
133-
public static final String WARNING_MESSAGE_8X = "Creating a `semantic_text` field on this index version may not include"
134-
+ " optimized default settings. Consider creating a new index for a better performance.";
135-
public static final String ERROR_MESSAGE_UNSUPPORTED_SPARSE_VECTOR = "Creating a `semantic_text` field with `sparse_vector` models"
136-
+ " is not supported on indices created with versions 8.0-8.10."
137-
+ " Try using a `dense_vector` model or create a new index with version 8.11+.";
133+
public static final String WARNING_MESSAGE_8X = "Creating a `semantic_text` field on this index version may not include" +
134+
" optimized default settings. Consider creating a new index for better performance.";
135+
public static final String ERROR_MESSAGE_UNSUPPORTED_SPARSE_VECTOR = "Creating a `semantic_text` field with `sparse_vector` models" +
136+
" is not supported on this index. Try using a `dense_vector` model or create a new index with version 8.11+.";
138137
public static final NodeFeature SEMANTIC_TEXT_IN_OBJECT_FIELD_FIX = new NodeFeature("semantic_text.in_object_field_fix");
139138
public static final NodeFeature SEMANTIC_TEXT_SINGLE_FIELD_UPDATE_FIX = new NodeFeature("semantic_text.single_field_update_fix");
140139
public static final NodeFeature SEMANTIC_TEXT_DELETE_FIX = new NodeFeature("semantic_text.delete_fix");

0 commit comments

Comments
 (0)