Forum Discussion

a_hobitt's avatar
a_hobitt
Mentor
12 years ago

Autocorrection for search box

Is it possible to implement a auto correction in the search field? E.g. some one looks for a "I Phone" but in the community they are talking about an "iphone". Like: Did you mean IPhone?

1 Reply

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    12 years ago

    Hi,

     

    I think this could be a great idea to raise in our internal idea exchange board to see if others are also interested into this feature, and maybe consider it for the future roadmap within the product.

     

     

    That said, I think in theory you could build a component that uses the search API and has an internal list of "synonyms" to check against when a term is entered, or use an external API (via a Custom Studio Endpoint) to do that check. There is quite a literature around algorithms that can be used to detect strings that are very close to each other, or misspelt.

     

    If you need more specific help around this I'd suggest to get in touch with the Lithium PM and engage with Professional Services - as I think it will all very much depend on the specific use cases that you are trying to solve.

     

    Many Thanks,