#community-help

Typesense Multi-Field Partial Search Query

TLDR Santiago seeks help for multi-field partial search on Typesense, but Jason says it is not yet supported and requests adding a use-case comment to an open feature request.

Powered by Struct AI
Jun 21, 2023 (5 months ago)
Santiago
Photo of md5-b2c2c059af26a64985dcf91ed80cea5e
Santiago
07:51 PM
Hi all, thanks for typesense, great tool, I'm using it for a web/mobile app using Flutter and Firebase, the only issue we have is that we want to be able to search on multiple fields at the same time (say firstName, lastName, email, etc) with partial search (for example: firstName: "San", lastName:"sant", email: "sant") should return my user Santiago de los Santos). I can only do exact searches on multiple fields. My work around, that works on small scale, is to make one query per field then do local pagination, but this isn't a posibility once we scale. Any way of doing multi partial search?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:58 PM
Typesense doesn’t support this at the moment, but there’s an open feature request: https://github.com/typesense/typesense/issues/561

Could you add the use-case you mentioned above as a comment to the issue?
Santiago
Photo of md5-b2c2c059af26a64985dcf91ed80cea5e
Santiago
07:59 PM
Thank you Jason, I will