Class AzureAISearchAdapterUtils
java.lang.Object
io.nosqlbench.adapter.azureaisearch.AzureAISearchAdapterUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringmaskDigits(String unmasked) Mask the numeric digits in the given string with '*'.static int[]searchDocumentsResponseIdToIntArray(String field, com.azure.search.documents.util.SearchPagedIterable response) Prepares an integer array of the indices of keys containing the result vectors.splitLongs(String input) splitNames(String input)
-
Field Details
-
AZURE_AI_SEARCH
- See Also:
-
-
Constructor Details
-
AzureAISearchAdapterUtils
public AzureAISearchAdapterUtils()
-
-
Method Details
-
splitNames
-
splitLongs
-
maskDigits
-
searchDocumentsResponseIdToIntArray
public static int[] searchDocumentsResponseIdToIntArray(String field, com.azure.search.documents.util.SearchPagedIterable response) Prepares an integer array of the indices of keys containing the result vectors.- Parameters:
field- field to search for the index values of the vectors.response- results from which we need to search for the indexes.- Returns:
- an
int[]of the indexes of the vectors.
-