Try our conversational search powered by Generative AI!

Strange suggestions in autocomplete

Vote:
 

We are having strange suggestions in autocomplete. If someone for example have done a search for Alloy' they will get a result because Find will filter away the ' character but later it will return Alloy' as a suggestion for autocomplete.

Does anyone know if it is possible to filter this suggestions so we wont see them?

#116987
Feb 09, 2015 14:40
Vote:
 

Not sure...

If it's not visible here /EPiServer/Find/#manage/optimization/autocomplete I think you need to to something like:

Clear statistics and change the code and...

  • You could do some regex thing and only chain .Track() if it looks like a nice word.
  • Filter out noise characters from the phrase before querying.

Another option could be to put your own proxy'ing code on top of Find's autocomplete-URL and filter the JSON yourself. I've done this to re-format to what the front-end code needed.

BUT...

In my experience autocomplete in this manor is not helping the visitor and is open for abuse so I usually recommend some kind of search-as-you-type returning wildcard matches from some specific types or an editorial phrase repository.

#117003
Edited, Feb 09, 2015 18:37
Vote:
 

I agree with you Johan, it is mutch better to have it working like for example www.prisjakt.se.

Thanks for the input, I will check out how I can filter away the noise

#117017
Feb 10, 2015 8:37
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.