Filtering Restaurant Data Based on Opening Hours
TLDR houssemro wanted a solution to filter restaurant data based on opening hours. Jason suggested flattening the records.
Jan 12, 2022 (20 months ago)
houssemro
02:41 PM"openning_hours":{"monday":[09:00:22:00],Thursday:[09:00:22:00],..}
i want to filter my data in the filter_by field to only return the open restaurents
can anyone tell me what is the most convenient solution ?
thank you.
Jason
02:43 PMTypesense
Indexed 2764 threads (79% resolved)
Similar Threads
Resolving Algolia Filter Issue with Empty/Null Strings
Mateo was struggling with a filtering error when dealing with empty/null strings in Algolia. Upon Jason's suggestion, they changed empty values to "Unknown" and exported the documents to resolve the issue.

Resolve Facets and Sorting Issues with Typesense
Ethan needed assistance with getting all facet values and sorting results by date using Typesense. Jason provided guidance on how to use Typesense properties to accomplish these tasks, and resolved issues related to specific use-cases provided by Ethan and Rushil.


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.


