Skip to content

Replace character with spoofing char before being imported #411

@warmwhisky

Description

@warmwhisky

Do you know of a way that I can replace a character in my index before it gets indexed.

I need to replace # with either a spoofing char or a unique key combination so that my searches don't cause idle timeouts in Meilisearch.

E.g. When my users searches for D#G#C#F#A#D# meilisearch searches instead for D G C F A D I believe. This causes huge response times on some of my pages as they include this search just by opening a page.

So until you can change the soft space char or disable some for Meilisearch I need to replace all # chars with a unique char or key combination so my meili index no longer contains #

Maybe I could replace all # with zxzxzxz or something else and then replace zxzxzxz with # before the search takes place. I know it sounds clunky but I believe its my only option to stop the slow response times I have experienced since going live with Meilisearch.

More info about my issue can be found here meilisearch/product#160 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions