I am intermittently getting the error while searching the index:
Exception in thread “main” com.algolia.search.exceptions.AlgoliaRetryException: All hosts are unreachable
SearchResult<?> result = index.search(query);
After sometime it works fine without any code change. Can anyone please let me know what could be the issue?
The same credentials work most of the times, but there are periods when it does not. The same program runs fine most of the time, however sometimes it just fails as mentioned in the ticket.
The issue is intermittent, but when it does it leads to bad customer experience.