-
Notifications
You must be signed in to change notification settings - Fork 51
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
Mellisearch in strapi always requires to reload but does nothing. #714
Comments
Hey @karanbasik |
@bidoubiwa, Browser console isn't of much help either :( |
So, some of the collections are correctly added and hooked? But not all of them? |
Yup, some get hooked instantly while others require a reload. Reloading it on dev mode also doesn't work. |
Any insights? @bidoubiwa |
Hey @karanbasik We are in a rush week with the release of the new Meilisearch version. I'll come back to you asap to further investigate :) |
Hi @bidoubiwa, it's still an issue we're facing. Would love to sit down with your team and resolve this so it doesn't happen to anyone else ;) |
Hey @karanbasik ! Sorry for the delay. Are these all regular collections? |
Additionally, could you try again, fetch the tasks, and provide them here? https://www.meilisearch.com/docs/reference/api/tasks#get-tasks |
Hi @bidoubiwa, I was off for the last week, sorry about it.
I don't quite get what do you mean by regular collections. But I'll try answering them. They are not single type collection, in that way - they are regular collections. Some collections do contain dynamic components and simple components inside them as well.
I added user collection to be indexed, it returned with the usual "Reload required". But looking at meilisearch's tasks response, it seems like the user collection has been indexed successfully. {
"results": [
{
"uid": 1242,
"indexUid": "user",
"status": "succeeded",
"type": "documentAdditionOrUpdate",
"canceledBy": null,
"details": {
"receivedDocuments": 17,
"indexedDocuments": 17
},
"error": null,
"duration": "PT0.065516974S",
"enqueuedAt": "2023-06-28T06:41:13.808146992Z",
"startedAt": "2023-06-28T06:41:13.810540321Z",
"finishedAt": "2023-06-28T06:41:13.876057295Z"
},
{
"uid": 1241,
"indexUid": "user",
"status": "succeeded",
"type": "settingsUpdate",
"canceledBy": null,
"details": {},
"error": null,
"duration": "PT0.006380688S",
"enqueuedAt": "2023-06-28T06:41:13.767313701Z",
"startedAt": "2023-06-28T06:41:13.769846617Z",
"finishedAt": "2023-06-28T06:41:13.776227305Z"
},
{
"uid": 1240,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.005047594S",
"enqueuedAt": "2023-06-28T06:27:57.825950133Z",
"startedAt": "2023-06-28T06:27:57.829830491Z",
"finishedAt": "2023-06-28T06:27:57.834878085Z"
},
{
"uid": 1239,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.004866928S",
"enqueuedAt": "2023-06-28T06:27:15.705318564Z",
"startedAt": "2023-06-28T06:27:15.707274831Z",
"finishedAt": "2023-06-28T06:27:15.712141759Z"
},
{
"uid": 1238,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.003981053S",
"enqueuedAt": "2023-06-28T06:27:12.348500753Z",
"startedAt": "2023-06-28T06:27:12.350968763Z",
"finishedAt": "2023-06-28T06:27:12.354949816Z"
},
{
"uid": 1237,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.005336488S",
"enqueuedAt": "2023-06-28T06:27:01.545691589Z",
"startedAt": "2023-06-28T06:27:01.548135645Z",
"finishedAt": "2023-06-28T06:27:01.553472133Z"
},
{
"uid": 1236,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.004691933S",
"enqueuedAt": "2023-06-28T06:26:55.921047739Z",
"startedAt": "2023-06-28T06:26:55.922846894Z",
"finishedAt": "2023-06-28T06:26:55.927538827Z"
},
{
"uid": 1235,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentAdditionOrUpdate",
"canceledBy": null,
"details": {
"receivedDocuments": 0,
"indexedDocuments": 0
},
"error": null,
"duration": "PT0.003177037S",
"enqueuedAt": "2023-06-28T06:26:44.006909045Z",
"startedAt": "2023-06-28T06:26:44.009303823Z",
"finishedAt": "2023-06-28T06:26:44.01248086Z"
},
{
"uid": 1234,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.004567984S",
"enqueuedAt": "2023-06-28T06:25:33.105668327Z",
"startedAt": "2023-06-28T06:25:33.108403753Z",
"finishedAt": "2023-06-28T06:25:33.112971737Z"
},
{
"uid": 1233,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.005392059S",
"enqueuedAt": "2023-06-28T06:23:21.536159584Z",
"startedAt": "2023-06-28T06:23:21.539013359Z",
"finishedAt": "2023-06-28T06:23:21.544405418Z"
},
{
"uid": 1232,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.004352186S",
"enqueuedAt": "2023-06-28T06:20:30.345177619Z",
"startedAt": "2023-06-28T06:20:30.347861109Z",
"finishedAt": "2023-06-28T06:20:30.352213295Z"
},
{
"uid": 1231,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentAdditionOrUpdate",
"canceledBy": null,
"details": {
"receivedDocuments": 0,
"indexedDocuments": 0
},
"error": null,
"duration": "PT0.003740121S",
"enqueuedAt": "2023-06-28T05:41:52.903078135Z",
"startedAt": "2023-06-28T05:41:52.907076711Z",
"finishedAt": "2023-06-28T05:41:52.910816832Z"
},
{
"uid": 1230,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentAdditionOrUpdate",
"canceledBy": null,
"details": {
"receivedDocuments": 1,
"indexedDocuments": 1
},
"error": null,
"duration": "PT0.395038383S",
"enqueuedAt": "2023-06-27T11:15:46.107499549Z",
"startedAt": "2023-06-27T11:15:46.109360137Z",
"finishedAt": "2023-06-27T11:15:46.50439852Z"
},
{
"uid": 1229,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.004587714S",
"enqueuedAt": "2023-06-27T11:15:43.964049614Z",
"startedAt": "2023-06-27T11:15:43.966398166Z",
"finishedAt": "2023-06-27T11:15:43.97098588Z"
},
{
"uid": 1228,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.004890626S",
"enqueuedAt": "2023-06-27T11:15:26.026190744Z",
"startedAt": "2023-06-27T11:15:26.028360642Z",
"finishedAt": "2023-06-27T11:15:26.033251268Z"
},
{
"uid": 1227,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.005407351S",
"enqueuedAt": "2023-06-27T11:02:49.62077268Z",
"startedAt": "2023-06-27T11:02:49.622909643Z",
"finishedAt": "2023-06-27T11:02:49.628316994Z"
},
{
"uid": 1226,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.005000585S",
"enqueuedAt": "2023-06-27T11:02:30.399258696Z",
"startedAt": "2023-06-27T11:02:30.401668866Z",
"finishedAt": "2023-06-27T11:02:30.406669451Z"
},
{
"uid": 1225,
"indexUid": "esports-article",
"status": "succeeded",
"type": "documentDeletion",
"canceledBy": null,
"details": {
"providedIds": 1,
"deletedDocuments": 0
},
"error": null,
"duration": "PT0.004553096S",
"enqueuedAt": "2023-06-27T10:39:24.128431387Z",
"startedAt": "2023-06-27T10:39:24.130780066Z",
"finishedAt": "2023-06-27T10:39:24.135333162Z"
}
],
"limit": 20,
"from": 1244,
"next": 1224
} /cc @AquamanRanda |
@bidoubiwa any update on this ? |
I'm sorry, a lot of work to do currently! When you uncheck other categories, are you able to check those that are not working right now? |
Ah yes. It looks like there's a limit on how many collections we can index. Unchecked some categories and I was able to check other categories. Is it a bug or is it intended to be that way? |
@bidoubiwa anything we can do? It's been a while. |
Hey @karanbasik and @AquamanRanda. We found the problem! Sorry, it took so long 😅 It was an issue in Meilisearch introducing pagination in the indexes. It should be fixed soon and released before the end of the week. |
Description
We have strapi installed with the official Meilisearch plugin provided by your team. After installing Meilisearch, we went to the dashboard and tried enabling the indexing for few collections. It says "Hooked" for some while most of them says "Reload required"
Since we were in production, reload was not an option. So, we started it in development mode and tried it again, yet it didn't work. This is how the dashboard looks:
Expected behavior
Expected it to hook properly. But always wants a reload. Cannot reload in prod environment. Tried switching to dev mode, tried reloading, still the same, does not hook properly.
Current behavior
No matter what, indexer is not getting hooked.
Screenshots or Logs
https://cdn.discordapp.com/attachments/1108292293749907476/1108656367520202772/MeilisearchProblem.mp4
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: