#community-help

Issues with Infix Searching in Staging Application

TLDR Ahmad experienced a problem with search queries returning empty arrays. Jason explained it as a lack of infix searching support which is currently in development.

Powered by Struct AI

2

Feb 22, 2022 (23 months ago)
Ahmad
Photo of md5-4a6338a1d6016269c9f234fc1a133144
Ahmad
08:13 PM
Hi Everyone
I am getting a strange problem in search
if i pass the query: 'staging ap', it returns the fine results. but if i pass query: 'ing ap'  it is returning empty array. why ? as ing ap is a substring of staging ap .
08:15
Jason
08:15 PM
That said, what you're referring to is called infix searching, and we are currently working on adding support for it: https://github.com/typesense/typesense/issues/393

1

Ahmad
Photo of md5-4a6338a1d6016269c9f234fc1a133144
Ahmad
08:16 PM
please give me an alert when we have this feature ready. thanks.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
08:17 PM
We'll post in that Github issue when it's available. If you subscribe to the issue or leave a comment on it, you'll get a notification

1