Skip to content

Commit 4a5467c

Browse files
committed
removing unnecessary code
1 parent 96f8bd3 commit 4a5467c

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

server/src/main/java/org/elasticsearch/index/IndexSettings.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -820,15 +820,6 @@ public Iterator<Setting<?>> settings() {
820820
Property.ServerlessPublic
821821
);
822822

823-
public static final Setting<Integer> DENSE_VECTOR_ADV_FILTER_SEARCH_SETTING = Setting.intSetting(
824-
"index.dense_vector.advanced_filter_search_threshold",
825-
50,
826-
0,
827-
100,
828-
Property.IndexScope,
829-
Property.Dynamic
830-
);
831-
832823
private static String getIgnoreAboveDefaultValue(final Settings settings) {
833824
if (IndexSettings.MODE.get(settings) == IndexMode.LOGSDB
834825
&& IndexMetadata.SETTING_INDEX_VERSION_CREATED.get(settings).onOrAfter(IndexVersions.ENABLE_IGNORE_ABOVE_LOGSDB)) {

server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public enum FilterHeuristic {
121121
*/
122122
FANOUT {
123123
static final KnnSearchStrategy FANOUT_STRATEGY = new KnnSearchStrategy.Hnsw(0);
124+
124125
@Override
125126
public KnnSearchStrategy getKnnSearchStrategy() {
126127
return FANOUT_STRATEGY;
@@ -131,6 +132,7 @@ public KnnSearchStrategy getKnnSearchStrategy() {
131132
*/
132133
ACORN {
133134
static final KnnSearchStrategy ACORN_STRATEGY = new KnnSearchStrategy.Hnsw(50);
135+
134136
@Override
135137
public KnnSearchStrategy getKnnSearchStrategy() {
136138
return ACORN_STRATEGY;

0 commit comments

Comments
 (0)