Skip to content

Commit 5749e57

Browse files
committed
Update reference
1 parent 5b8d499 commit 5749e57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/VectorSearchIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.elasticsearch.cluster.metadata.IndexMetadata;
1717
import org.elasticsearch.common.settings.Settings;
1818
import org.elasticsearch.common.xcontent.support.XContentMapValues;
19-
import org.elasticsearch.search.SearchFeatures;
19+
import org.elasticsearch.index.mapper.MapperFeatures;
2020

2121
import java.io.IOException;
2222
import 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
{

server/src/main/java/org/elasticsearch/index/mapper/MapperFeatures.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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() {

0 commit comments

Comments
 (0)