-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index already exists error #322
Comments
Presumably this means background tasks? If possible please provide information on the task that is causing this, if you can narrow it down. If not, I'll try to find the cause anyway. |
We are actually not using background tasks to handle meilisearch indexing, just indexing straight to Meilisearch (using meilisearch-rails). What additional details of the task would you like? |
Is this error appearing in your Rails logs or other logs? meilisearch-rails does indeed not check with the server before attempting to create an index, so in many cases it tries to create an index that is already there, which normally just fails silently. |
This is occuring in the meilisearch tasks. If an indexation fails in this way, will a document potentially not get indexed? Can these failing tasks be ignored? |
Hello @jeremylynch |
Will test and report back |
Confirming we are still seeing the error on
|
If these errors are only on the meilisearch tasks on the instance, and you do not see them in your Rails logs, you can freely ignore them. They are just a side effect of how meilisearch-rails communicates with the server. This is still polluting the tasks on the server so I will look into an alternative implementation. |
We are frequently seeing this error in our tasks:
We are not entirely sure why meilisearch rails is trying to recreate the index every 10-20 minutes?
Meilisearch 1.6.0, meilisearch rails 0.10.2
The text was updated successfully, but these errors were encountered: