-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search Renames / Regen #11342
Merged
Merged
Search Renames / Regen #11342
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4112ee6
add regenerated swagger
bryevdv e01d6ba
Analyzer -> LexicalAnalyzer
bryevdv 742a3c5
StandardAnalyzer -> LuceneStandardAnalyzer
bryevdv 299f7b0
StandardTokenizer -> LuceneStandardTokenizer
bryevdv 0f823cd
DataSource -> SearchIndexerDataSource
bryevdv 748e517
DataContainer -> SearchIndexerDataContainer
bryevdv 520fb79
Skillset -> SearchIndexerSkillset
bryevdv ed51f76
Skill -> SearchIndexerSkill
bryevdv 61e36fd
TokenInfo -> AnalyzedTokenInfo
bryevdv 2523747
EncryptionKey -> SearchResourceEncryptionKey
bryevdv e5854d7
IndexerExecutionInfo -> SearchIndexerStatus
bryevdv 8720cb7
Indexer -> SearchIndexer
bryevdv dded0d9
Tokenizer -> LexicalTokenizer
bryevdv 9dafa5e
Field -> SearchField
bryevdv 80b84f1
Index -> SearchIndex
bryevdv 9dfc8e6
update for AccessCondition
bryevdv 5e4e27e
update tests
bryevdv 6375e26
regenerate w/o x-ms-pageable
bryevdv 5afc309
Merge branch 'master' into bryanv/update_swagger
bryevdv ee34d27
remove conflict merge junk
bryevdv bb848e1
pylint
bryevdv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,9 +43,9 @@ | |
edm, | ||
) | ||
from ._service._generated.models import ( | ||
Analyzer, | ||
AnalyzeRequest, | ||
AnalyzeResult, | ||
AnalyzedTokenInfo, | ||
AsciiFoldingTokenFilter, | ||
AzureActiveDirectoryApplicationCredentials, | ||
CharFilter, | ||
|
@@ -55,24 +55,18 @@ | |
ConditionalSkill, | ||
CorsOptions, | ||
CustomAnalyzer, | ||
DataSource, | ||
DataSourceCredentials, | ||
DataContainer, | ||
DictionaryDecompounderTokenFilter, | ||
DistanceScoringFunction, | ||
DistanceScoringParameters, | ||
EdgeNGramTokenFilter, | ||
EdgeNGramTokenizer, | ||
ElisionTokenFilter, | ||
EncryptionKey, | ||
EntityRecognitionSkill, | ||
Field, | ||
FreshnessScoringFunction, | ||
FreshnessScoringParameters, | ||
GetIndexStatisticsResult, | ||
ImageAnalysisSkill, | ||
Index, | ||
Indexer, | ||
IndexingSchedule, | ||
IndexingParameters, | ||
InputFieldMappingEntry, | ||
|
@@ -82,7 +76,11 @@ | |
KeywordTokenizer, | ||
LanguageDetectionSkill, | ||
LengthTokenFilter, | ||
LexicalAnalyzer, | ||
LexicalTokenizer, | ||
LimitTokenFilter, | ||
LuceneStandardAnalyzer, | ||
LuceneStandardTokenizer, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There should also be a (new) |
||
MagnitudeScoringFunction, | ||
MagnitudeScoringParameters, | ||
MappingCharFilter, | ||
|
@@ -98,16 +96,20 @@ | |
PatternReplaceTokenFilter, | ||
PhoneticTokenFilter, | ||
RegexFlags, | ||
SearchField, | ||
SearchIndex, | ||
SearchIndexer, | ||
SearchIndexerDataContainer, | ||
SearchIndexerDataSource, | ||
SearchIndexerSkillset, | ||
SearchResourceEncryptionKey, | ||
ScoringFunction, | ||
ScoringProfile, | ||
SentimentSkill, | ||
ShaperSkill, | ||
ShingleTokenFilter, | ||
Skillset, | ||
SnowballTokenFilter, | ||
SplitSkill, | ||
StandardAnalyzer, | ||
StandardTokenizer, | ||
StemmerOverrideTokenFilter, | ||
StemmerTokenFilter, | ||
StopAnalyzer, | ||
|
@@ -120,8 +122,6 @@ | |
TextTranslationSkill, | ||
TextWeights, | ||
TokenFilter, | ||
TokenInfo, | ||
Tokenizer, | ||
TruncateTokenFilter, | ||
UaxUrlEmailTokenizer, | ||
UniqueTokenFilter, | ||
|
@@ -142,7 +142,7 @@ | |
__all__ = ( | ||
"AnalyzeRequest", | ||
"AnalyzeResult", | ||
"Analyzer", | ||
"AnalyzedTokenInfo", | ||
"AsciiFoldingTokenFilter", | ||
"AutocompleteQuery", | ||
"AzureActiveDirectoryApplicationCredentials", | ||
|
@@ -154,24 +154,18 @@ | |
"ConditionalSkill", | ||
"CorsOptions", | ||
"CustomAnalyzer", | ||
"DataSource", | ||
"DataSourceCredentials", | ||
"DataContainer", | ||
"DictionaryDecompounderTokenFilter", | ||
"DistanceScoringFunction", | ||
"DistanceScoringParameters", | ||
"EdgeNGramTokenFilter", | ||
"EdgeNGramTokenizer", | ||
"ElisionTokenFilter", | ||
"EncryptionKey", | ||
"EntityRecognitionSkill", | ||
"Field", | ||
"FreshnessScoringFunction", | ||
"FreshnessScoringParameters", | ||
"GetIndexStatisticsResult", | ||
"ImageAnalysisSkill", | ||
"Index", | ||
"Indexer", | ||
"IndexingSchedule", | ||
"IndexingParameters", | ||
"IndexAction", | ||
|
@@ -184,7 +178,11 @@ | |
"KeywordTokenizer", | ||
"LanguageDetectionSkill", | ||
"LengthTokenFilter", | ||
"LexicalAnalyzer", | ||
"LexicalTokenizer", | ||
"LimitTokenFilter", | ||
"LuceneStandardAnalyzer", | ||
"LuceneStandardTokenizer", | ||
"MagnitudeScoringFunction", | ||
"MagnitudeScoringParameters", | ||
"MappingCharFilter", | ||
|
@@ -204,25 +202,29 @@ | |
"RegexFlags", | ||
"ScoringFunction", | ||
"ScoringProfile", | ||
"SearchClient", | ||
"SearchDataSourcesClient", | ||
"SearchClient", | ||
"SearchField", | ||
"SearchIndex", | ||
"SearchIndexer", | ||
"SearchIndexerDataContainer", | ||
"SearchIndexerDataSource", | ||
"SearchIndexerSkillset", | ||
"SearchIndexersClient", | ||
"SearchIndexesClient", | ||
"SearchSkillsetsClient", | ||
"SearchSynonymMapsClient", | ||
"SearchItemPaged", | ||
"SearchQuery", | ||
"SearchResourceEncryptionKey", | ||
"SearchServiceClient", | ||
"SearchSkillsetsClient", | ||
"SearchSynonymMapsClient", | ||
"SearchableField", | ||
"SentimentSkill", | ||
"ShaperSkill", | ||
"ShingleTokenFilter", | ||
"SimpleField", | ||
"Skillset", | ||
"SnowballTokenFilter", | ||
"SplitSkill", | ||
"StandardAnalyzer", | ||
"StandardTokenizer", | ||
"StemmerOverrideTokenFilter", | ||
"StemmerTokenFilter", | ||
"StopAnalyzer", | ||
|
@@ -236,8 +238,6 @@ | |
"TextTranslationSkill", | ||
"TextWeights", | ||
"TokenFilter", | ||
"TokenInfo", | ||
"Tokenizer", | ||
"TruncateTokenFilter", | ||
"UaxUrlEmailTokenizer", | ||
"UniqueTokenFilter", | ||
|
2 changes: 1 addition & 1 deletion
2
sdk/search/azure-search-documents/azure/search/documents/_index/_generated/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/search/azure-search-documents/azure/search/documents/_index/_generated/_configuration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...h/azure-search-documents/azure/search/documents/_index/_generated/_search_index_client.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/search/azure-search-documents/azure/search/documents/_index/_generated/aio/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ure-search-documents/azure/search/documents/_index/_generated/aio/_configuration_async.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...arch-documents/azure/search/documents/_index/_generated/aio/_search_index_client_async.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...earch-documents/azure/search/documents/_index/_generated/aio/operations_async/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard to tell from the diff, but these *Request and *Result classes aren't actually exported, are they? They should most often (always, IIRC) be wrapped/transformed before returning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for
DataSourceCredentials
I see below.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes they have been used directly since awhile ago: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/search/azure-search-documents/samples/sample_analyze_text.py