strapi-plugin-meilisearch icon indicating copy to clipboard operation
strapi-plugin-meilisearch copied to clipboard

Localization support

Open FREEZX opened this issue 4 years ago • 11 comments

Description The plugin should support the new Internationalization feature introduced in strapi 3.6. Right now, it seems like only the default locale's results are being indexed.

Basic example In my case, I have content in two languages. The strapi meilisearch shows the count for only the default language and only indexes that content. There's a "hack" that allows me to bypass this behavior and force this plugin to also index the other language entries by just making any change and saving the localized entry. Then something funny happens in the meilisearch plugin, the number of indexed items exceeds the maximum number of items: msedge_SHYEYZ9uQb

FREEZX avatar Sep 12 '21 09:09 FREEZX

Hello @FREEZX This should definitely be added!

Strapi's plugin will receive some upgraded as soon as some important tasks have been done in other meilisearch repo's. Meanwhile if someone wants to integrate a solution to this problem feel free to do so and ask any question on how to.

bidoubiwa avatar Sep 13 '21 18:09 bidoubiwa

Hi @bidoubiwa , can you please assign this to me?

DiySane avatar Oct 04 '21 19:10 DiySane

Hello @DiySane This specific PR will be completed in a batch of upgrades I will implement. Thanks a lot for giving interest in this project!

bidoubiwa avatar Oct 05 '21 09:10 bidoubiwa

Thanks for letting me know! Just keep me posted if you see anything else coming up.

On Tue, Oct 5, 2021 at 2:38 PM cvermand @.***> wrote:

Hello @DiySane https://github.com/DiySane This specific PR will be completed in a batch of upgrades I will implement. Thanks a lot for giving interest in this project!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/meilisearch/strapi-plugin-meilisearch/issues/263#issuecomment-934216767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH2PDCKQQL6GWJGLAJVEPZ3UFK6AZANCNFSM5D34WJGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Thanks, Dwaipayan

DiySane avatar Oct 05 '21 09:10 DiySane

Hello,

Any news about this issue ?

aloulouamine avatar Apr 27 '22 09:04 aloulouamine

Hello not yet. Do you have an idea on how you would like it to be showcased on the plugin page?

bidoubiwa avatar Apr 27 '22 12:04 bidoubiwa

Hello any news on this issue, do you need any help to implemented it ?

fhenri42 avatar Jun 24 '22 09:06 fhenri42

For now I did this workaround, https://github.com/meilisearch/strapi-plugin-meilisearch/pull/445. Hope it will help someone 👍

fhenri42 avatar Jun 24 '22 16:06 fhenri42

Looking forward for this! In my use case, I have localized entries for a blog, and that includes the title and the content.

I cannot search all the entries because of this! Thanks for supporting this feature!

sauldeleon avatar Sep 25 '22 12:09 sauldeleon

Hey any news on this issue? Would be very nice indexing also localized entries.

stattmal avatar Oct 01 '22 09:10 stattmal

Hey @stattmal! We are working on it as soon as we have a bit of type. Sorry for the delay

bidoubiwa avatar Oct 03 '22 09:10 bidoubiwa

Released in v0.8.0. You can try it out :)

bidoubiwa avatar Oct 12 '22 14:10 bidoubiwa

broken. updating a localized entry creates a duplicate in the meilisearch index...

tshmieldev avatar Mar 14 '24 00:03 tshmieldev

@tshmieldev please can you open an issue? Any PR to fix it is welcome ❤️

curquiza avatar Mar 14 '24 09:03 curquiza

@curquiza When you have a collection eg. Posts, and if you update a post, that causes a localized version of it to be pushed to the meilisearch index. My current workaround is having a hook that auto deletes that entry in meilisearch

tshmieldev avatar Mar 16 '24 22:03 tshmieldev