Typesense

Typesense

#community-help

Query Filtering Syntax Clarification

TLDR Luke sought clarification for filter logic. Kishore Nallan provided the correct syntax.

Powered by Struct AI

1

3
28mo
Solved
Join the chat
Jul 30, 2021 (28 months ago)
Luke
Photo of md5-124f493c74e026a709acf7f55fa2ca47
Luke
01:59 PM
lets say ball=round, sport=football
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
02:01 PM
?filter_by=ball: round && sport: football
Luke
Photo of md5-124f493c74e026a709acf7f55fa2ca47
Luke
02:02 PM
thank you very much!

1

Typesense

Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI

Indexed 2779 threads (79% resolved)

Join Our CommunityManage subscription

Similar Threads

Clarification on a Specific Query Format

bnfd wanted to understand specific query format. Kishore Nallan suggested a potential solution but wasn't entirely certain.

2
13mo

Understanding Search Parameters and Functions in a Database

Mubashirullah needed help with formulating search queries. Kishore Nallan explained how to use filter_by, query_by, and facet_query. The thread ended with corrections to a search syntax error.

5

19
23mo
Solved

Usage and Modification of Dynamic Routes in Typesense Documents

Ethan needed a way to perform exact queries through two fields in Typesense documents. Kishore Nallan demonstrated its possibility using the "filter_by". An issue was resolved via recommending that fields in 'query by' should be a string type.

26
9mo
Solved
Powered By