Skip to content
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

Closed
karanbasik opened this issue May 24, 2023 · 17 comments · Fixed by #818
Closed

Mellisearch in strapi always requires to reload but does nothing. #714

karanbasik opened this issue May 24, 2023 · 17 comments · Fixed by #818
Assignees
Labels
bug Something isn't working

Comments

@karanbasik
Copy link

karanbasik commented May 24, 2023

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:

image

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

  • Meilisearch logs after enabling debug
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes::settings] returns: SummarizedTaskView { task_uid: 23, index_uid: Some("topic"), status: Enqueued, kind: SettingsUpdate, enqueued_at: 2023-05-19 4:58:34.246229097 +00:00:00 }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "PATCH /indexes/topic/settings HTTP/1.1" 202 123 "-" "undici" 0.004018
[2023-05-19T04:58:34Z INFO  index_scheduler] A batch of tasks was successfully completed.
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: PaginationView { results: [IndexView { uid: "author", created_at: 2023-05-18 7:11:02.117561552 +00:00:00, updated_at: 2023-05-18 7:11:02.154134628 +00:00:00, primary_key: None }, IndexView { uid: "esports-article", created_at: 2023-05-18 7:03:34.630672468 +00:00:00, updated_at: 2023-05-18 7:03:34.667910136 +00:00:00, primary_key: None }, IndexView { uid: "esports-category", created_at: 2023-05-18 7:11:09.531162555 +00:00:00, updated_at: 2023-05-18 7:11:09.566042633 +00:00:00, primary_key: None }, IndexView { uid: "esports-event", created_at: 2023-05-18 7:11:10.67140583 +00:00:00, updated_at: 2023-05-18 7:11:10.714302594 +00:00:00, primary_key: None }, IndexView { uid: "esports-match", created_at: 2023-05-18 7:11:12.662810604 +00:00:00, updated_at: 2023-05-18 7:11:12.698305125 +00:00:00, primary_key: None }, IndexView { uid: "esports-region", created_at: 2023-05-18 7:11:13.74167721 +00:00:00, updated_at: 2023-05-18 7:11:13.780603637 +00:00:00, primary_key: None }, IndexView { uid: "esports-team", created_at: 2023-05-18 7:11:14.310534463 +00:00:00, updated_at: 2023-05-18 7:11:14.346885675 +00:00:00, primary_key: None }, IndexView { uid: "esports-tournament-organizer", created_at: 2023-05-18 7:11:14.895599425 +00:00:00, updated_at: 2023-05-18 7:11:14.933894105 +00:00:00, primary_key: None }, IndexView { uid: "esports-update", created_at: 2023-05-18 7:11:15.738974626 +00:00:00, updated_at: 2023-05-18 7:11:15.776862909 +00:00:00, primary_key: None }, IndexView { uid: "game", created_at: 2023-05-18 7:11:17.874197378 +00:00:00, updated_at: 2023-05-18 7:11:17.909297608 +00:00:00, primary_key: None }, IndexView { uid: "gaming-article", created_at: 2023-05-18 7:11:17.364401846 +00:00:00, updated_at: 2023-05-18 7:11:17.399095424 +00:00:00, primary_key: None }, IndexView { uid: "gaming-category", created_at: 2023-05-18 7:11:23.06261196 +00:00:00, updated_at: 2023-05-18 7:11:23.095989567 +00:00:00, primary_key: None }, IndexView { uid: "gossip-article", created_at: 2023-05-18 7:11:24.123038769 +00:00:00, updated_at: 2023-05-18 7:11:24.15784716 +00:00:00, primary_key: None }, IndexView { uid: "gossip-category", created_at: 2023-05-18 7:11:26.656912622 +00:00:00, updated_at: 2023-05-18 7:11:26.691229735 +00:00:00, primary_key: None }, IndexView { uid: "label", created_at: 2023-05-18 7:11:28.857459036 +00:00:00, updated_at: 2023-05-18 7:11:28.892302295 +00:00:00, primary_key: None }, IndexView { uid: "platform", created_at: 2023-05-18 7:11:30.962409121 +00:00:00, updated_at: 2023-05-18 7:11:30.997759319 +00:00:00, primary_key: None }, IndexView { uid: "studio", created_at: 2023-05-18 7:11:31.566814032 +00:00:00, updated_at: 2023-05-18 7:11:31.600408069 +00:00:00, primary_key: None }, IndexView { uid: "tag", created_at: 2023-05-18 7:11:32.282865736 +00:00:00, updated_at: 2023-05-18 7:11:32.318280713 +00:00:00, primary_key: None }, IndexView { uid: "tech-article", created_at: 2023-05-18 7:11:33.120935494 +00:00:00, updated_at: 2023-05-18 7:11:33.155248888 +00:00:00, primary_key: None }, IndexView { uid: "tech-category", created_at: 2023-05-18 7:11:34.019636233 +00:00:00, updated_at: 2023-05-18 7:11:34.053531499 +00:00:00, primary_key: None }], offset: 0, limit: 20, total: 21 }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes HTTP/1.1" 200 2662 "-" "undici" 0.000616
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/author/stats HTTP/1.1" 200 65 "-" "undici" 0.000292
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/label/stats HTTP/1.1" 200 65 "-" "undici" 0.000329
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/esports-article/stats HTTP/1.1" 200 65 "-" "undici" 0.000502
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/esports-category/stats HTTP/1.1" 200 65 "-" "undici" 0.000575
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/esports-event/stats HTTP/1.1" 200 65 "-" "undici" 0.000519
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/esports-match/stats HTTP/1.1" 200 65 "-" "undici" 0.000389
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/esports-team/stats HTTP/1.1" 200 65 "-" "undici" 0.000344
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/esports-tournament-organizer/stats HTTP/1.1" 200 65 "-" "undici" 0.000418
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/esports-update/stats HTTP/1.1" 200 65 "-" "undici" 0.000451
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/gaming-article/stats HTTP/1.1" 200 65 "-" "undici" 0.000296
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/gaming-category/stats HTTP/1.1" 200 65 "-" "undici" 0.000303
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/gossip-article/stats HTTP/1.1" 200 65 "-" "undici" 0.000251
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/gossip-category/stats HTTP/1.1" 200 65 "-" "undici" 0.000282
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/esports-region/stats HTTP/1.1" 200 65 "-" "undici" 0.000317
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/studio/stats HTTP/1.1" 200 65 "-" "undici" 0.000287
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/tag/stats HTTP/1.1" 200 65 "-" "undici" 0.000276
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/game/stats HTTP/1.1" 200 65 "-" "undici" 0.000251
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/tech-category/stats HTTP/1.1" 200 65 "-" "undici" 0.000254
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/tech-article/stats HTTP/1.1" 200 65 "-" "undici" 0.000246
[2023-05-19T04:58:34Z DEBUG meilisearch::routes::indexes] returns: IndexStats { number_of_documents: 0, is_indexing: false, field_distribution: {} }
[2023-05-19T04:58:34Z INFO  actix_web::middleware::logger] 172.24.0.5 "GET /indexes/platform/stats HTTP/1.1" 200 65 "-" "undici" 0.000284
  • Strapi screenrecord on what's happening

https://cdn.discordapp.com/attachments/1108292293749907476/1108656367520202772/MeilisearchProblem.mp4

Environment (please complete the following information):

  • OS: Linux
  • Meilisearch version: v1.0.0
  • strapi-plugin-meilisearch version: v0.9.2
  • Browser: Firefox Version 113.0.1 (64-bit)
  • Strapi version: v4.10.5
@bidoubiwa
Copy link
Contributor

Hey @karanbasik
This is totaly unexpected. Could you show me the console output of your browser?

@bidoubiwa bidoubiwa added the bug Something isn't working label May 25, 2023
@karanbasik
Copy link
Author

@bidoubiwa, Browser console isn't of much help either :(

image

@bidoubiwa
Copy link
Contributor

So, some of the collections are correctly added and hooked? But not all of them?

@karanbasik
Copy link
Author

karanbasik commented May 26, 2023

Yup, some get hooked instantly while others require a reload. Reloading it on dev mode also doesn't work.

@karanbasik
Copy link
Author

Any insights? @bidoubiwa

@bidoubiwa
Copy link
Contributor

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 :)

@karanbasik
Copy link
Author

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 ;)

@bidoubiwa
Copy link
Contributor

Hey @karanbasik ! Sorry for the delay. Are these all regular collections?

@bidoubiwa
Copy link
Contributor

Additionally, could you try again, fetch the tasks, and provide them here? https://www.meilisearch.com/docs/reference/api/tasks#get-tasks

@karanbasik
Copy link
Author

Hi @bidoubiwa, I was off for the last week, sorry about it.

Are these all regular collections?

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.

Additionally, could you try again, fetch the tasks, and provide them here?

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.

image

{
    "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

@AquamanRanda
Copy link

@bidoubiwa any update on this ?

@bidoubiwa
Copy link
Contributor

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?

@karanbasik
Copy link
Author

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
Copy link
Contributor

Good news is we'r getting closer to understanding your issue. Bad news is that I can still not reproduce it:

Screenshot 2023-07-11 at 12 09 24

What database are you using ?

@karanbasik
Copy link
Author

Ah shoot. We're using PostgreSQL 15.1. I'll explain a bit more on what our collections contain so maybe we can figure it out that way.

  • We have collections that have only normal fields (text, slug, numbers and bools)
  • We have collections that has dynamic zones
  • We have collections that has relations inside dynamic zone (though i am not interested in indexing this to meilisearch), something like this:
    image

We also had an issue with strapi once where our table names where huge so it crashed. But we fixed it by having very bad and weird acronyms like EspArt, GamArt. Got in touch with strapi and reported the bug to them.

@karanbasik
Copy link
Author

@bidoubiwa anything we can do? It's been a while.

@bidoubiwa
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants