Multiple warnings generated using SearchField
See original GitHub issue- Package Name: azure-search-documents
- Package Version: 11.0.0
- Operating System: Windows
- Python Version: 3.8.1
Exact same issue as #12455 - Not too much more I can add. The index gets created successfully despite the warnings. I’m basically just following the examples provided in this repo.
Code:
# Imports
from azure.core.credentials import AzureKeyCredential
from azure.search.documents.indexes import SearchIndexerClient, SearchIndexClient
from azure.search.documents.indexes.models import SearchIndexerDataSourceConnection, SearchIndexerDataContainer, SearchableField, SearchFieldDataType, SearchIndex
from azure.core.exceptions import HttpResponseError
# Helper function
def create_index(self, name, fields):
client = SearchIndexClient(self.url, self.key)
fields = [SearchableField(name=x, type=SearchFieldDataType.String) for x in fields]
fields.append(SearchableField(name="id", type=SearchFieldDataType.String, key=True))
index = SearchIndex(name=name, fields=fields)
client.create_index(index)
hidden is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
analyzer_name is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
search_analyzer_name is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
index_analyzer_name is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
synonym_map_names is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
hidden is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
analyzer_name is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
search_analyzer_name is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
index_analyzer_name is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
synonym_map_names is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
hidden is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
analyzer_name is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
search_analyzer_name is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
index_analyzer_name is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
synonym_map_names is not a known attribute of class <class 'azure.search.documents.indexes._internal._generated.models._models_py3.SearchField'> and will be ignored
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
TextFields generate many warning/error messages in debug ...
a: error message Error messages from the Flutter framework a: text input Entering text in a text field or keyboard related problems.
Read more >Add multiple search fields for contextual search
Add multiple search fields if you want to search from a field other than the short description without using the related search box....
Read more >Sorting and Filtering Error Messages - CATIADOC
Multiple occurrences of the same message can be filtered and a generic message will be displayed. On selecting a particular message (error/warning), ...
Read more >Advanced search reference - JQL fields | Jira Software Cloud
Your reference for fields that are used for advanced searching in Jira applications using Jira Query Language (JQL).
Read more >Using regular expressions in the search field
When placed between two words, it indicates that one word or the other can be found in the text. To search for a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Latest version (11.1.0b4) has the fix. It is a beta version and a GA one will come soon. @binbrain
Thanks for reporting it. We have a fix which will be available soon. 😃 @axc450