Open esgraham opened 11 months ago
@xiangyan99 I encountered the same issue. Can we expect a fix soon?
I'm getting this for a standard configuration from this official tutorial
HttpResponseError: () Configuration property 'queryTimeout' is not supported for the data source of type 'azureblob'.
Code:
Message: Configuration property 'queryTimeout' is not supported for the data source of type 'azureblob'.
I replicated the issue using azureblob data source and azure_search_documents 11.4.0 A workaround is to pass a None query_timeout value configuration = IndexingParametersConfiguration(parsing_mode="jsonArray", query_timeout=None)
ok but thats not a solution actually, what if i want to increase the query_timeout
Describe the bug Azure Search IndexingParametersConfiguration needs to be changed to optional parameters.
When using azure-search-documents to create an Indexer, advanced properties could not be set for an indexer with a data connection of Azure Blob or Azure SQL Server.
This has blocked multiple teams when using JSON files in that the JSON values in the file cannot be used with Output Field Mappings. Instead, the values are added to storage blobs as metadata fields, but that could be a security risk and the metadata fields are not available to all Azure Resources when creating blobs (ie, ADF and Logic Apps).
To Reproduce Steps to reproduce the behavior: The following code returned the error: Configuration property 'queryTimeout' is not supported for the data source of type 'azureblob'.
Conversely, the following code returned the error: Configuration property 'parsingMode' is not supported for the data source of type 'azuresql'
Expected behavior To be able to create Azure Search Indexers with Advanced Properties
Additional context I created pull request with the changes required and live tests, however, the are auto-generated the changes will not be saved. To see the changes requried view PR #33357