How to: Search & Autocorrect

Hey there Bubblers! :wave:

I just wanted to show how to use the Search and Autocorrect plugin since it wasn’t very clear how to use it right out of the box.

Editor: 805testapp42 | Bubble Editor

Preview: https://805testapp42.bubbleapps.io/version-test/searchfuzzy?debug_mode=true

Want to learn more?

www.nocodeminute.com

Presenting

Hope that helps! :blush:

4 Likes

Thanks Jason! This is helpful, never tried the plugin, but now I’m tempted to :slight_smile:

1 Like

Yeah. It’s pretty helpful. Keep it in mind for when you might need it later. :blush:

Hope that helps! :blush:

@j805 www.NoCodeMinute.com

For All Your No-Code Education Needs:

  • One-on-One Tutoring
  • eLearning Hub
  • Video Tutorials
  • No-Code Classes
1 Like

Hi,

Thank you very much for the settings, I’m now happy with the results.
Nevertheless I’ve still got an issue regarding my search bar that I have to fix.

When a user types something in the search bar, clicks a result (opening the popup), and then closes the popup to redo a search, the search bar doesn’t consider the new characters in the input.
Here is a short clip of what’s happening to better understand the issue : https://youtu.be/5uuA77Qww-I

If you could help me with it, it would be great.

I just updated this editor example to reset the inputs, it should work.

You should be able to do the same thing. Maybe there is something in your workflow that is not allowing it to show up correctly. See if the new example is a better example for your situation.

Hope that helps! :blush:

1 Like

Thank you @J805.
It now works!

1 Like

Glad that helped. :blush:

Is anyone having trouble with this plugin? My app has been crashing and I narrowed it down to this plugin. When I delete the element from my page, no crashing and when I add it back in it crashes again. I tried reinstalling the plugin and that didn’t seem to work
Anyone else having issues?

It might be depending on what version you are using. What version of the plugin are you using currently?

Thanks for your help. I have the most recent version installed. Checking the version was the first thing I checked once I narrowed it down to this plugin.

I’m on 1.4.3. That was the one that was stable for me. Sometimes the newer ones broke it when I tested it. :man_shrugging:

1 Like

Thanks for that feedback. I’ll try that

1 Like

Hmm maybe a ping to @ZeroqodeSupport to fix the newer version :sweat_smile:

2 Likes

I just downgraded to 1.4.3 and it’s still crashing.

Here is how I got to this point:

  1. create a savepoint and delete pretty much every other element on my page except for my plugin elements.
  2. delete the plugin elements one at a time to determine what the culprit is
  3. Revert to savepoint
  4. Post on this thread and then downgrade as per @J805 suggestion.

I have not repeated steps 1 and 2 with version 1.4.3 yet (cuz it’s a pain and I really don’t want to. So based on this information, there must be some other plugin running in the background in my app that the plugin is clashing with that exists in v1.4.3 and higher. Given I deleted all other elements on the page, I don’t really see how there is any other possibility

@ZeroqodeSupport Any suggestions here?
Thanks

Also, what version of Bubble are you on? It might be a conflicting plugin too. Just some ideas.

You can delete the other plugins and see if it works then.

Or make sure you don’t have any other raw code on the page.

Yah that’s the next step. Just such a laborious process. Don’t really see how I have any other choice. Thanks for your help. Much appreciated.

1 Like

So this took absolutely forever and the answer seems so obvious once I figured it out. The datasource for the search & autocorrect plugin had 24,000 entries in it. Clearly the plugin can’t handle this.

@ZeroqodeSupport Can you comment on the limit of what the plugin can handle please?

So upon a little further investigation, it seems like the plugin processes the data source. The more entries in the data source, the more processing it takes (I can monitor with Shift+Esc). Chrome seems to crash when the total memory exceeds 300 MB. If the total processing requires less than this (plus the rest of the app), then it doesn’t crash.

Guess I’ll need to implement Algolia or something similar.

@paul29 This plugin can handle 58k+ Quick Find Search & Facet Filtering Plugin | Bubble

I also would recommend trying out TypeSense instead of Algolia to save a lot of money. :blush:

1 Like

Wow. Thanks so much. Really appreciate the help

1 Like