Skip to content

Commit

Permalink
Remove IndexProperty enum for queries from public surface area (#43026)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMeiswinkel authored Nov 20, 2024
1 parent 52cefcb commit 551a603
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.implementation.query;

public enum IndexProperty {
INDEXING_SEARCH_LIST_SIZE,
QUANTIZATION_SIZE_IN_BYTES;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.azure.cosmos.CosmosItemSerializer;
import com.azure.cosmos.implementation.Constants;
import com.azure.cosmos.implementation.JsonSerializable;
import com.azure.cosmos.implementation.query.IndexProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

Expand Down Expand Up @@ -163,9 +164,4 @@ private Boolean validateIndexType(IndexProperty indexProperty) {
}
return vectorIndexType.equals(CosmosVectorIndexType.DISK_ANN.toString());
}

public enum IndexProperty {
INDEXING_SEARCH_LIST_SIZE,
QUANTIZATION_SIZE_IN_BYTES;
}
}

0 comments on commit 551a603

Please sign in to comment.