File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades
server/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616import org .elasticsearch .cluster .metadata .IndexMetadata ;
1717import org .elasticsearch .common .settings .Settings ;
1818import org .elasticsearch .common .xcontent .support .XContentMapValues ;
19- import org .elasticsearch .search . SearchFeatures ;
19+ import org .elasticsearch .index . mapper . MapperFeatures ;
2020
2121import java .io .IOException ;
2222import java .util .List ;
@@ -510,7 +510,7 @@ public void testBBQVectorSearch() throws Exception {
510510 }
511511
512512 public void testBBQVectorSearchOffheapRescoring () throws Exception {
513- assumeTrue ("Disabling off-heap rescoring is not supported" , oldClusterHasFeature (SearchFeatures .BBQ_OFFHEAP_RESCORING ));
513+ assumeTrue ("Disabling off-heap rescoring is not supported" , oldClusterHasFeature (MapperFeatures .BBQ_OFFHEAP_RESCORING ));
514514 if (isOldCluster ()) {
515515 String mapping = """
516516 {
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public class MapperFeatures implements FeatureSpecification {
4747 static final NodeFeature BBQ_DISK_SUPPORT = new NodeFeature ("mapper.bbq_disk_support" );
4848 static final NodeFeature SEARCH_LOAD_PER_SHARD = new NodeFeature ("mapper.search_load_per_shard" );
4949 static final NodeFeature PATTERNED_TEXT = new NodeFeature ("mapper.patterned_text" );
50- static final NodeFeature BBQ_OFFHEAP_RESCORING = new NodeFeature ("mapper.vectors.bbq_offheap_rescoring" );
50+ public static final NodeFeature BBQ_OFFHEAP_RESCORING = new NodeFeature ("mapper.vectors.bbq_offheap_rescoring" );
5151
5252 @ Override
5353 public Set <NodeFeature > getTestFeatures () {
You can’t perform that action at this time.
0 commit comments