File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 130130 */
131131public 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" );
You can’t perform that action at this time.
0 commit comments