File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
server/src/main/java/org/elasticsearch/index/mapper/vectors
x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3838import org .apache .lucene .util .BytesRef ;
3939import org .apache .lucene .util .VectorUtil ;
4040import org .elasticsearch .common .ParsingException ;
41- import org .elasticsearch .common .settings .Setting ;
42- import org .elasticsearch .common .util .FeatureFlag ;
4341import org .elasticsearch .common .io .stream .StreamInput ;
4442import org .elasticsearch .common .io .stream .StreamOutput ;
4543import org .elasticsearch .common .io .stream .Writeable ;
44+ import org .elasticsearch .common .settings .Setting ;
45+ import org .elasticsearch .common .util .FeatureFlag ;
4646import org .elasticsearch .common .xcontent .support .XContentMapValues ;
4747import org .elasticsearch .features .NodeFeature ;
4848import org .elasticsearch .index .IndexVersion ;
Original file line number Diff line number Diff line change @@ -1145,7 +1145,10 @@ private static Mapper.Builder createEmbeddingsField(
11451145 } else {
11461146 DenseVectorFieldMapper .DenseVectorIndexOptions defaultIndexOptions = null ;
11471147 if (indexVersionCreated .onOrAfter (SEMANTIC_TEXT_DEFAULTS_TO_BBQ )
1148- || indexVersionCreated .between (SEMANTIC_TEXT_DEFAULTS_TO_BBQ_BACKPORT_8_X , IndexVersions .UPGRADE_TO_LUCENE_10_0_0 )) {
1148+ || indexVersionCreated .between (
1149+ SEMANTIC_TEXT_DEFAULTS_TO_BBQ_BACKPORT_8_X ,
1150+ IndexVersions .UPGRADE_TO_LUCENE_10_0_0
1151+ )) {
11491152 defaultIndexOptions = defaultDenseVectorIndexOptions ();
11501153 }
11511154 if (defaultIndexOptions != null
You can’t perform that action at this time.
0 commit comments