#community-help

Discussing Typesense Features: Complex Querying and Bulk Search

TLDR Tom inquired about the availability of complex Boolean filters and bulk search in Typesense Cloud. Kishore Nallan assured they are in progress, with a preview targeted for Q1 2022. Jason shared a workaround for ORs across fields.

Powered by Struct AI

1

7
24mo
Solved
Join the chat
Nov 23, 2021 (24 months ago)
Tom
Photo of md5-e85267a71c600db8a82564a11eecdfdc
Tom
02:06 PM
Jason Kishore Nallan - hi, I am just learning about typesense (cloud) and I'm very excited about it for a project at work. 2 features I was curious about:

• filter_by: are complex AND/OR Boolean filters on the roadmap? (I see you can OR from an array, and AND from different attributes, but curious about arbitrary/nested filters)
• Is a bulk search on the roadmap? Our workload allows for queries to be executed in batch, and with typesense being so fast I assume we could see speed gains by batching search requests to typesense
Note: very excited to see “result pinning” and “federated” - those are very very cool

1

Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
02:22 PM
Hi Tom 👋

We are certainly going to work on complex querying very soon. For bulk search, you can use federated / multi_search endpoint for that as well. However search queries in a multi search batch are executed serially so the main gain is from reducing network latency.
Tom
Photo of md5-e85267a71c600db8a82564a11eecdfdc
Tom
02:41 PM
Complex querying - excellent!!

Multi_search - didn't know about that, I'll take a deeper look.

Reducing network latency - yes, this was exactly my goal. :)
Tom
Photo of md5-e85267a71c600db8a82564a11eecdfdc
Tom
07:15 PM
Kishore Nallan everyone's least favorite question: do you have a rough idea of when complex querying would be done?

We know the “complex filters” in advance, so it's not a blocker, but it would allow us to remove quite a bit of preprocessing during indexing when the search supports complex filters.
07:15
Tom
07:15 PM
(I'll schedule a demo call for typesense cloud)
Nov 24, 2021 (24 months ago)
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
08:13 AM
Targeting for Q1 2022. Some form of preview might be available earlier as we usually try to iterate on new features so some immediate value can be made available for use as soon as possible.