Developer forum

Forum » Dynamicweb 10 » spelling mistakes in typeahead search

spelling mistakes in typeahead search

Hans Ravnsfjall
Hans Ravnsfjall
Reply

Hi

In an index based search, is it possible to handle spelling mistakes and show results that are spelled "close to" what the user types in? If so, how can this be achieved and how can you control how far from the searchterm the results should go?

 

/Hans


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Hans

Yes, you can use suggestions: https://doc.dynamicweb.com/documentation-9/repositories/other/suggestions

Suggestions are "closest match" based on what the user types and what is in the index.

So If i write "bicicle" it can figure out that the closest term in the index is "bicycle" - this is also the feature that is used in Swift typeahead.

BR Nicolai

Votes for this answer: 1
 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

Brilliant, thank you 👍

 

You must be logged in to post in the forum