Clarification and Solution for 'not equals filter_by' Configuration
TLDR Alex asked about filter syntax in Typesense. Kishore Nallan clarified that the version being used caused the issue and offered to upgrade their dev cluster to resolve it.
Oct 28, 2021 (25 months ago)
filter_by=author:!= JK Rowling. However, i think it works with this syntax -
filter_by=author:-= JK Rowling. Are the docs wrong or do i have issues with my setup? Thanks!
Kishore Nallan10:14 AM
Kishore Nallan10:28 AM
filter_by=author:!= JK Rowlingis the correct syntax, though we experimented with the "-" very early on, with some debug builds but it was never published. When you use
:-=it will just be treated equals since everything after
:will be treated as part of filter value and during tokenization, those special characters will be dropped.
Kishore Nallan11:13 AM
:-=works though 😮
Kishore Nallan11:28 AM
Kishore Nallan11:29 AM
-because it conflicted with genuine use of hyphens.
Kishore Nallan11:30 AM
Kishore Nallan11:32 AM
Kishore Nallan11:38 AM
Later, when it is time to bump our prod cluster, then it would be nice to schedule it so we can put up a maintenance banner on our site :thumbsup:
Kishore Nallan11:49 AM
Indexed 2776 threads (79% resolved)
Upgrading Typesense to Solve Syntax Error
Ken encountered an issue with Typesense search enhancements on their site and Jason suggested an upgrade. They also discussed the possible downtime and finalized the process.
Resolving Multilingual Search Function in Typesense Software
Bill is having difficulty with multilingual search functionality in Typesense software. Developer Kishore Nallan suggested setting a language locale and provided a demo build. The build solution had some issues, and after multiple rounds of software updates and troubleshooting, the problem still persists.
Resolving Issues with Infix and Prefix in Query Searches
Daren struggled with searches missing values in production. Jason and Kishore Nallan offered insights and created new features to help solve the problem, which was then tested and deployed by Daren.
Handling Kinesis Stream Event Batching with Typesense
Dui had questions about how to handle Kinesis stream events with Typesense. Kishore Nallan suggested using upsert mode for creation/update and differentiating with logical deletion. After various discussions including identifying and resolving a bug, they finalized to introduce an `emplace` action in Typesense v0.23.
Resolving 'Sort by String Property' Error in Typesense
Ahmad was unable to sort by a string property on Typesense. Jason helped diagnose the issue, instructed the user to upgrade from their side, and enabled the sorting feature in the user's schema.