algolia/algoliasearch-client-ruby

Specific tmp index.

oleksiivykhor opened this issue · 0 comments

https://www.algolia.com/doc/api-reference/api-methods/replace-all-objects/#about-this-method says that the method uses tmp index to replace all the information. But the problem that in case of an error tmp index remains and I'm getting an error that too many indices created (1001>1000), so I need to be able to handle an error case.
The problem is I'm able to get a list of indices (https://www.algolia.com/doc/api-reference/api-methods/list-indices/), but I don't know which one is created by the error (I'm afraid to remove all of them because worried if any other is still being used by other indexing process).