From 2fb9a17ab3d974cbcad5e1c189111f46c18d140b Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Thu, 8 Sep 2022 08:57:30 -0700 Subject: [PATCH] Revert "Revert model renames (#25991)" This reverts commit a7911893c8592d05a607a1009c008d0329069870. --- .../azure/search/documents/indexes/models/__init__.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/models/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/models/__init__.py index d5a0d5e4d057..bde2d4f7dc60 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/models/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/models/__init__.py @@ -188,12 +188,6 @@ SearchFieldDataType = _edm -class BM25SimilarityAlgorithm(BM25Similarity): - pass - -class ClassicSimilarityAlgorithm(ClassicSimilarity): - pass - class KeywordTokenizer(KeywordTokenizerV2): pass @@ -216,10 +210,10 @@ class SearchSuggester(Suggester): "AnalyzeResult", "AnalyzedTokenInfo", "AsciiFoldingTokenFilter", - "BM25SimilarityAlgorithm", + "BM25Similarity", "CharFilter", "CjkBigramTokenFilter", - "ClassicSimilarityAlgorithm", + "ClassicSimilarity", "ClassicTokenizer", "CognitiveServicesAccount", "CognitiveServicesAccountKey",