Problem
When I search for "Ken Worling" no results are found in the table. A Select component with the same data will find the person being searched for.
I was able to reproduce this, so i think the retool team will need to chip into this thread with info on how the fuzzy search is working in the table and if they're able to push a fix so that it works the same as the select component.
@ScottR, in your example you only wrote worling, which indeed returns a match, but what Caleb wants to achieve is that Ken Worling returns a match (in the same manner as the select type search does)
Hi Scott – yes this is one route I've considered, however I'd like to pre-load the data rather than re-querying with every search bar update for performance. Also it is a bit complicated to re-implement the flexible way the fuzzy match works in an SQL query.
To @MiguelOrtiz's point I can definitely dig into why there is a disparity between the two search methods. I can make a feature request for this
@ScottR's custom query using 'Query JSON with SQL' should be a solid temporary work around.
Another great option would be using the Filter component, which has a nice option to link it with a table and allow for column and other specificity as well!
Just filed a ticket to allow users to toggle between "full/exact" matching. which the fuzzy search currently has with the "partial" matching. that the select component uses.
Will update this thread with any news on the ticket. For now, the best work around would be the filter connected to table for searches