NumericFilter Adjustment for Search Adapter in GitHub
TLDR Jordan discovered a potential issue in the numericFilter
for a search adapter in GitHub. After discussing with Jason, a fix using an updated Regex formula was found and Jordan agreed to submit a PR.
1
May 20, 2022 (17 months ago)
Jordan
05:50 PMnumericFilter
for the search adapter need to account for =
in its RegEx? I think it's missing and can make a PR, but just wanted to check before moving forward (referring to here)Jason
08:53 PM=
for equality, and I thought it used :
for equality for some reason.This is the updated that Regex that works for all the cases I tested:
(.*?)(<=|>=|>|<|:|=)(.*)
I'd appreciate a PR!
Jason
08:54 PM?
in the beginning to get it to work as expected)Jordan
08:55 PM1
Typesense
Indexed 2776 threads (79% resolved)
Similar Threads
Addressing `filterBy` Issues and Using `configure` Widget
Sean had issues with `filterBy` and understanding negation. Jason suggested using `configure` widget and updated the adapter, resolving the issues.
Typesense Sorting Query and Bug Report
michtio is new to Typesense and is querying sorting implementation. Jason shares resources and suggests use of specific adapters. However, michtio shares a bug found when applying a filter on Typesense. Jason asks for a GitHub issue to be opened for the bug.
Fixing Multiple Document Retrieval in Typesense
Phil needed an efficient way to retrieve multiple documents by id. Kishore Nallan proposed a solution available in a pre-release build. After some bug fixing regarding id matching by Jason and Kishore Nallan, Phil successfully tested the solution.