Will you be the one who helps us to take a closer look at this issue within your app, please?
Just add support@zeroqode.com to your collaborators list and indicate the page name, where you are using the plugin, and how to reproduce the issue. I’m afraid, we can do nothing until we have an example where the mentioned issue is possible to reproduce constantly, and until we have a test environment.
Hope to continue the issue investigation with you.
Regards,
Zeroqode Support Team
Hey guys,
I can’t give you access unfortunately, but I’m having the same issue.
I updated to version 1.14.0 and fuzzy search stopped working
rolled it back to 1.13.0 and it’s fine.
Oddly enough, other bubble elements set to “show when input is not empty” also stopped working. So it was as if bubble could no longer see the input elements.
Additional context, my bubble app is on version 20. But other than that, everything else with the fuzzy search was very standard, and rolling back to v1.13.0 made it clear that it wasn’t an error on my part.
@devin.fraze@avern87 As a quick fix I used the Input Watcher plugin as a middleman between the input and the Fuzzy Search element. Put the input’s ID in the WatchInput element, then have the Fuzzy search point to the WatchInput’s value (not the ID but use the other field where it lets you pick an input’s value]
The Fuzzy search kept breaking on me randomly and haven’t had any issues so far.
Nice workaround. I don’t have the input in a RG though, so I don’t have a need for a dynamic ID. Reverting it to v1.13.0 is far simpler and has the same effect. However, for anyone wanting the dynamic functionality, your solution sounds good
Me using the Input Watcher as the middleman is just to get the “instant text response” where you type and there’s no delay. VS letting the Fuzzy Search element do the instant response then breaking in the future. Nothing really to do with being in a RG
This simple setup doesn’t work on the latest version of the plugin. However, all I have to do for it to work again is simply roll the plugin back by one version and it begins working.
if you use the dynamic search ID , here is a test app with the functional 14th version.
The use case: each user has a name, email and Event. Event is a list of other parameters such as date, description, and user. There is a Repeating group that shows the list of users. Inside each “user” cell - there is a list of this user’s Events. You can do a search on each user’s event list.The setup is super simple:
Friends, please feel free to DM your use case setup in case you need some help or verification from our side. We confirm that with the correct setup 14th version is functional.
We have created an element where the user can search between their friends or they can search throughout the whole community and we are using the fuzzy search element. The search bar is not even responding when we type in a name to search up in neither the explore community repeating group nor the friends repeating group. We do not know the problem.
If you want a filtered search result, apply filters after the plugin has returned you the list of Matches. You can do it by adding this filtration method to the Matches results:
Please check the plugin’s live demo page, demo editor page, and the docs in parallel to see the correct setup. You can always refer to these when creating your app and need to implement the functionality.
I have a “parent” data type with a “Name” field, but I also want my search to include the “child” data type’s “Notes” field.
The parent/child are obviously related data types and I can access them dynamically. But the Fuzzy Search & Autocomplete only allows me to select one data source (although many fields of that data source).
My second question is that I do not understand at all how to set the threshold, distance and location settings.
I’ve read what I can in this forum, I’ve looked at the demo app (which does not run in Chrome on my Mac, but I can see the editor and examine the settings), and I’ve tried tons of combinations.
I cannot seem to get a search result that is at all useful. It either gives me nearly everything or nothing at all. Can someone please explain how to use these settings?
Unfortunately, the plugin only allows selecting one data source. Apologies for the inconvenience but it’s not possible to search for more than one data type.
These fields are related to the match of the text you are searching for.
Threshold: Number 0 means that the plugin requires a perfect match. If you need a non-perfect match, just use 1, instead of 0.
The “distance” in fuzzy search specifies how close a match needs to be to a particular location. Imagine you’re looking for a word, and you have a specific spot in mind. If the distance is set to 0, it means the word must be exactly at that spot. If the distance is 1000, it can be within 800 characters of the spot and still count as a good match, but it’s not a perfect match unless it’s exactly at the spot. So, the larger the distance, the more flexibility you have in finding matches close to the specified location.
The “location” field tells us roughly where in the text we expect to find a certain pattern. It’s like giving a general idea of where to start looking in a book for a specific word or phrase.
Hope that helps! Please let us know if you have any further questions.
Thank you. What are the best settings then if I don’t have any expectation of where to find the match? I want the search to include the entire text of every record (it’s like a task manager so each text is not expected to be very long). Would I use a location of 0 and a distance of (something very large)?