Understanding `filter_by` String Parsing in Documentation
TLDR Harpreet inquired about the difference between Sneaker
and Sneaker
in filter_by
. Jason clarified that string literals with commas should be enclosed in backticks.
Nov 14, 2021 (26 months ago)
Harpreet
07:17 PMfilter_by
from the docs :You can also filter using multiple values and use the backtick character to denote a string literal:
category:= [
Running Shoes, Men, Sneaker]
.Is there any difference between
Sneaker
and Sneaker
while parsing?Jason
07:22 PMHarpreet
07:26 PMJason
07:28 PMHarpreet
07:29 PMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
Clarification on `filter_by` Argument in Typesense Documentation
Gabe asked if `filter_by` in Typesense accepts OR arguments, which Jason confirmed. Gabe then suggested adding this clarification to the documents.
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.
Understanding `filter_by` Functionality in Typesense
Harpreet had questions about `filter_by` function from the documentation. Kishore Nallan clarified that marking field as a facet isn't needed in 0.22. They also explained the difference between contains check and strict check.