Querying Multiple String Requirements on a Single Field
TLDR Todd had a query on string requirements on a single field using the 'q' parameter. Jason clarified and guided suggesting using
filter_by=field:word1 for desired results.
Jun 10, 2022 (19 months ago)
query_by, then the only other way to do what you want to do is to use
qwill work together with this: https://typesense-community.slack.com/archives/C01P749MET0/p1654895083820999?thread_ts=1654895017.270089&cid=C01P749MET0
If I want to do a filter_by clause on a string, can I do an includes type of operation? The answer is yes, you do
Indexed 3015 threads (79% resolved)
Trouble with Document Matching in 'filter_by' Field
Roman struggled with incorrect matches in the `filter_by` field. Kishore Nallan explains it only works at the word level, not partial prefix, and suggested setting `drop_tokens_threshold` to 0 to prevent incorrect matches.
Multiple Filters and JSON Requests in Typesense
Manish asked about multiple filter_by arguments, JSON input, and using multisearch. Jason offered typesense documentation links, examples, and how to use JSON formatted requests with multisearch. Ed shared a similar use case.
Query Logic in 'q' Parameter
A had a question about using AND and OR in the 'q' parameters. Jason clarified that 'filter_by' should be used for structured search instead.
Using Partial String Match with Filter_By
Phillip wanted to use partial string match with `filter_by`. Jason suggested using `query_by` and explained filter_by's word-level matching works.
Querying Documents with "OR"
Aapo queried about making "OR" searches across documents for specific terms. Kishore Nallan clarified that OR search is limited to the same field and doesn't support free text search in the "q" parameter.