User Search Functionality in Typesense

TLDR User Lukas brought up an issue with Typesense's username search functionality. hi019 directed them to a relevant thread, and Kishore Nallan confirmed ongoing work on infix search.

Powered by Struct AI
Join the chat
Jan 30, 2022 (20 months ago)
Photo of md5-d9deaf8d1683beb47108307453fe58bc
01:15 AM
Hello, I have an example of what could happen when users are searching for usernames.

The username is - simeonpanda.

I have tested searching for term “panda” and I don’t get any hits, is there a way for typesense to get a match like that?

With people using their fullnames as their usernames, I see this happening all the time (eg. people search ronaldo for cristianoronaldo and etc.)

I guess I can add additional displayName field and that should help, but just wondering.

Here is an example of what instagram returns.
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
03:35 PM
We've made good progress in supporting infix search. Will have more to share next week.