Coder Social home page Coder Social logo

Comments (17)

bidoubiwa avatar bidoubiwa commented on May 20, 2024

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

from strapi-plugin-meilisearch.

karanbasik avatar karanbasik commented on May 20, 2024

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

image

from strapi-plugin-meilisearch.

bidoubiwa avatar bidoubiwa commented on May 20, 2024

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

from strapi-plugin-meilisearch.

karanbasik avatar karanbasik commented on May 20, 2024

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

from strapi-plugin-meilisearch.

karanbasik avatar karanbasik commented on May 20, 2024

Any insights? @bidoubiwa

from strapi-plugin-meilisearch.

bidoubiwa avatar bidoubiwa commented on May 20, 2024

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

from strapi-plugin-meilisearch.

karanbasik avatar karanbasik commented on May 20, 2024

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

from strapi-plugin-meilisearch.

bidoubiwa avatar bidoubiwa commented on May 20, 2024

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

from strapi-plugin-meilisearch.

bidoubiwa avatar bidoubiwa commented on May 20, 2024

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

from strapi-plugin-meilisearch.

karanbasik avatar karanbasik commented on May 20, 2024

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

from strapi-plugin-meilisearch.

AquamanRanda avatar AquamanRanda commented on May 20, 2024

@bidoubiwa any update on this ?

from strapi-plugin-meilisearch.

bidoubiwa avatar bidoubiwa commented on May 20, 2024

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?

from strapi-plugin-meilisearch.

karanbasik avatar karanbasik commented on May 20, 2024

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?

from strapi-plugin-meilisearch.

bidoubiwa avatar bidoubiwa commented on May 20, 2024

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 ?

from strapi-plugin-meilisearch.

karanbasik avatar karanbasik commented on May 20, 2024

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.

from strapi-plugin-meilisearch.

karanbasik avatar karanbasik commented on May 20, 2024

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

from strapi-plugin-meilisearch.

bidoubiwa avatar bidoubiwa commented on May 20, 2024

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.

from strapi-plugin-meilisearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.