From 47e97768df8d077d6520758ab681b0aa657dcb5d Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Fri, 12 Jun 2020 09:47:00 -0700 Subject: [PATCH 1/2] expose models --- .../documents/indexes/models/__init__.py | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) 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 552d5691ef4a..110772f4945a 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 @@ -36,8 +36,10 @@ AnalyzeResult, AnalyzedTokenInfo, AsciiFoldingTokenFilter, + BM25Similarity as BM25SimilarityAlgorithm, CharFilter, CjkBigramTokenFilter, + ClassicSimilarity as ClassicSimilarityAlgorithm, ClassicTokenizer, CommonGramTokenFilter, ConditionalSkill, @@ -47,17 +49,27 @@ DistanceScoringParameters, EdgeNGramTokenFilter, EdgeNGramTokenizer, + EdgeNGramTokenFilterSide, ElisionTokenFilter, + EntityCategory, EntityRecognitionSkill, + EntityRecognitionSkillLanguage, + FieldMapping, + FieldMappingFunction, FreshnessScoringFunction, FreshnessScoringParameters, GetIndexStatisticsResult, ImageAnalysisSkill, + ImageAnalysisSkillLanguage, + ImageDetail, IndexingSchedule, IndexingParameters, + IndexerExecutionStatus, + IndexerStatus, InputFieldMappingEntry, KeepTokenFilter, KeyPhraseExtractionSkill, + KeyPhraseExtractionSkillLanguage, KeywordMarkerTokenFilter, KeywordTokenizerV2 as KeywordTokenizer, LanguageDetectionSkill, @@ -73,14 +85,18 @@ MergeSkill, MicrosoftLanguageStemmingTokenizer, MicrosoftLanguageTokenizer, + MicrosoftStemmingTokenizerLanguage, + MicrosoftTokenizerLanguage, NGramTokenFilter, NGramTokenizer, OcrSkill, + OcrSkillLanguage, OutputFieldMappingEntry, PathHierarchyTokenizerV2 as PathHierarchyTokenizer, PatternCaptureTokenFilter, PatternReplaceCharFilter, PatternReplaceTokenFilter, + PhoneticEncoder, PhoneticTokenFilter, RegexFlags, SearchIndex, @@ -91,6 +107,8 @@ SearchIndexerSkillset, SearchIndexerStatus, ScoringFunction, + ScoringFunctionAggregation, + ScoringFunctionInterpolation, ScoringProfile, SentimentSkill, SentimentSkillLanguage, @@ -143,8 +161,10 @@ "AnalyzeResult", "AnalyzedTokenInfo", "AsciiFoldingTokenFilter", + "BM25SimilarityAlgorithm", "CharFilter", "CjkBigramTokenFilter", + "ClassicSimilarityAlgorithm", "ClassicTokenizer", "CommonGramTokenFilter", "ComplexField", @@ -157,16 +177,26 @@ "EdgeNGramTokenFilter", "EdgeNGramTokenizer", "ElisionTokenFilter", + "EdgeNGramTokenFilterSide", + "EntityCategory", "EntityRecognitionSkill", + "EntityRecognitionSkillLanguage", + "FieldMapping", + "FieldMappingFunction", "FreshnessScoringFunction", "FreshnessScoringParameters", "GetIndexStatisticsResult", "ImageAnalysisSkill", + "ImageAnalysisSkillLanguage", + "ImageDetail", "IndexingSchedule", "IndexingParameters", + "IndexerExecutionStatus", + "IndexerStatus", "InputFieldMappingEntry", "KeepTokenFilter", "KeyPhraseExtractionSkill", + "KeyPhraseExtractionSkillLanguage", "KeywordMarkerTokenFilter", "KeywordTokenizer", "LanguageDetectionSkill", @@ -182,9 +212,12 @@ "MergeSkill", "MicrosoftLanguageStemmingTokenizer", "MicrosoftLanguageTokenizer", + "MicrosoftStemmingTokenizerLanguage", + "MicrosoftTokenizerLanguage", "NGramTokenFilter", "NGramTokenizer", "OcrSkill", + "OcrSkillLanguage", "OutputFieldMappingEntry", "PathHierarchyTokenizer", "PatternAnalyzer", @@ -192,9 +225,12 @@ "PatternReplaceCharFilter", "PatternReplaceTokenFilter", "PatternTokenizer", + "PhoneticEncoder", "PhoneticTokenFilter", "RegexFlags", "ScoringFunction", + "ScoringFunctionAggregation", + "ScoringFunctionInterpolation", "ScoringProfile", "SearchField", "SearchIndex", From d9898f0691646c3209d42094ebca69c5aa896391 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Fri, 12 Jun 2020 10:51:21 -0700 Subject: [PATCH 2/2] update --- .../azure/search/documents/indexes/_internal/_models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_models.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_models.py index 6da11c7146df..bfdbc1701aa8 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_models.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_models.py @@ -8,7 +8,6 @@ LexicalAnalyzer, LexicalTokenizer, AnalyzeRequest, - CustomAnalyzer as _CustomAnalyzer, )