DomDew / strapi-plugin-fuzzy-search

Register a weighted fuzzy search endpoint for Strapi Headless CMS you can add your content types to in no time

Home Page:https://www.npmjs.com/package/strapi-plugin-fuzzy-search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration question

jeremypeters opened this issue · comments

In the example there are the following values:

          uid: "api::author.author",
          modelName: "author",

Where are these obtained from? Thanks.

Ok, I've worked it out.

Looks like the uid is the API ID that can be found on the item page:

Screenshot 2023-03-09 at 14 04 20

Not sure why it needs to be name-spaced with itself though.

modelName just appears to be the collection type name.