You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a consequence, the azure-search-backup-and-restore notebook appears to fail on appending the list failed_keys, since page appears to be a list of dicts
An extra question: are there any news about Azure AI Search getting a functionality of automatic index snapshots/backups and restores? The lack of this may create a friction in adoption of Azure AI search in enterprise setups.
The text was updated successfully, but these errors were encountered:
I'm not sure this is an artifact of my use of the notebook functions, or some type mismatch in the notebook implementation.
You can try to trigger the problem I'm describing by negating this condition
azure-search-vector-samples/demo-python/code/index-backup-restore/azure-search-backup-and-restore.ipynb
Line 171 in fcfd950
As a consequence, the azure-search-backup-and-restore notebook appears to fail on appending the list failed_keys, since
page
appears to be a list of dictsazure-search-vector-samples/demo-python/code/index-backup-restore/azure-search-backup-and-restore.ipynb
Line 173 in fcfd950
Trying to use the list.index fails on dict.id attribute access
The following
failed_keys.append(page[result.index(item)]["id"])
allows to advance further, but then fails atwhich should probably be
print(f"Document upload error: {item.error_message}")
, sinceitem
appears to be an instance of https://learn.microsoft.com/en-us/python/api/azure-search-documents/azure.search.documents.models.indexingresultAn extra question: are there any news about Azure AI Search getting a functionality of automatic index snapshots/backups and restores? The lack of this may create a friction in adoption of Azure AI search in enterprise setups.
The text was updated successfully, but these errors were encountered: