[New Plugin] Quick Find Search & Facet Filtering

Hi @hacker,

Exactly, the Facet filtering type is there to easily turn on/off the facet filtering functionality without having to remove all the Facet attribute fields one by one. If the setting is set to filter and all the Facet attribute fields 1, 2, 3, ... are empty it will not make a difference.

As for the bug with color opacities (#292929 with 10% of opacity), I will be fixing this and pushing an update very soon. Bubble has a strange way of working with colors (#HEX,RGB,RGBA) which causes conversion issues depending on the rgba notation.

Cheers and in the meantime of me pushing a new version, feel free to reach out if you have other questions or issues.


Hello @eple0030,

Currently this Plugin doesn’t allow for multiple text entry searching. For example, searching english german will return searched similar to the following:

  • my cousin speaks english with her parents and german with her kids
  • english, french, italian, german
  • Tony is german, but his wife is english (with Two way setting enabled).

But won’t return:

  • my cousin speaks english with her parents and italian with her kids
  • english, french, italian, chinese

I can definitely add the feature for multiple text entry searching, but can’t commit to a release date, would probably be 2-3 weeks. As for grouping the searched results, I haven’t tested it thoroughly, but yes you can use :grouped by with the exposed Main data if it’s an object. Also I’m wondering what the use case would be because if the Data source is grouped, the exposed fields would also have to be grouped to get the highlighted fields and this would probably be a challenge using :grouped by,

Feel free to contact me if you have any other questions,
Fabrice

Update 1.1.4

  1. Patch fix to improve how colors with opacity values are managed.
  2. Bug fix when Data source is of type Text and the Expose matched fields setting is not checked.

Refresh your editor and Upgrade the Plugin to get updated code


@hacker upgrading the Plugin should solve the color opacity Bug. You can test the update here.


And as always, feel free to reach out if you have other issues.
Fabrice

Perfect, now it works. Thanks, @fabrice.latour04.

Will it be possible to use your plug-in as a replace of a bubble’s drop down for inside a repeating group?

Mu case is for searching expense types when adding expenses to the system.

Thanks a lot.

Could you elaborate on this? I’m not sure I understand what you wish to achieve.

Many thanks,
Fabrice

Hello,

I just want to replicate the same functionality as a drop down but searchable inside a repeating group.

The scenario is: por customer is going to create a new expanse line in the repeating group which holds the inputs and a drop down where he can categorize the expense line category which could be ā€œgroceriesā€, ā€œbank commissionā€, …

Also, does your plug-in have the same functionality as the selectize drop down plug-in?

Hope this time makes sense.

Thanks a lot.

Hello @ryanck,

  1. I’ve made a demo to simulate a dropdown. Is this what you mean by ā€œsame functionality as a drop down but searchable inside a repeating groupā€?
  2. What functionality of the Selectize drop down Plugin are you talking about?

Have a great day,
Fabrice

Hello @fabrice.latour04

Oh ok. So I guess that since those are RG we need to work in the UI so when the user clicks on an element inside the RG the drop down collapses and those kind of things right?

Thanks a ton.

Yes, exactly. This Plugin is not a Dropdown nor a Multiselect Plugin, it is a Search engine. But Bubble is really powerful for designing UI stuff that will replicate the functionalities you’re mentioning.

Let me know if you have other questions,
Fabrice

Looks very promising! A question:
Is there a way to search in multiple tables and merge the results into one RG?
I have schools and students in separate tables and would like to allow for a single action search, with no need to predefine what to search for, but simply show all the matching names of schools and students in a single list.
Thank you.

Hello @anon67312020,

So Bubble doesn’t let you merge two different tables of different types (i.e., Students and Schools), but you can definitely play around with Repeating Groups to show them (see here, of an example that will show both results for Hospitals and Patients using this method).

If you want to use the same Repeating Group, you can merge Text values of both tables (i.e., use School names and Student names), but you will lose reference to that Thing.

Hope this helps and feel free to reach out if you have other questions,
Fabrice

:tada:Documentation Update Announcement!!! :tada:

:closed_book: I just finished putting together a new and more comprehensive guide:

  • To help with setting up the Plugin;
  • Explain what each Fields, Expose states, and Events/Actions does;
  • More information about the Facet filtering;
  • Group all the Demos in one place;

Enjoy and hope this clarifies some things!
Fabrice :smiley:

@fabrice.latour04
This plugin looks like a potential for my use case but I’m not sure it covers what I require having read the documentation.
I have a data type called ā€˜featured items’ which are Amazon type items. Each item can have a number of Tags assigned to it (E.g. electronics, clothing, home, etc.). The tags are saved as a list against each featured item as type Tags.

I want to have a quick search filter where the user selects a Tag name and a repeating group shows the filtered results.

As the Tag information is saved against the featured items as a type Tag rather than text I don’t think your plugin covers this use case. Is this correct?

Hello @myholidayguide,

If I understand correctly Tags is a Data Type? And Featured Items is another Data Type with a field as a list of Tags? If this is the case then this Plugin won’t currently work out as the Nested Search fields only function with fields as single entries and not lists (multiple entries).

On the other hand, if Tag is a single entry in Featured Items

the search using this Plugin will work the Nest Data example.

Searching list entries and Nested lists is a new functionality I intend to implement in the future, I just can’t commit to a specific ETA right now.

Have a great day,
Fabrice

Thanks Fabrice. You are correct they are both data types with lists of things so doesn’t sound like it will work for now.

Many thanks.

Update 1.2.0

  1. :tada:Multi-word searching is now possible with the new Multi words setting example (When checked, will perform searches for all individual words, words are treated as an OR. When uncheck search is performed normally);
    image

MultiWords

  1. :tada:Improvement, when the expose matched Nested Data setting is checked to respect the searched order when returning the Nested Data Objects;
    NestedObjects

  2. Fix when the search is applied and the Data source is updated (Search will remain applied and consider the updated values instead of requiring a reset);

  3. Updated the new comprehensive guide ;

Refresh your editor and Upgrade the Plugin to get updated code


@eple0030 the Multi-word feature is now available (see example).

Feel free to reach out if you have other questions.
Fabrice

Hi, I’ve seen you posting some queries about nested searches around the forums and I was hoping you could share some of your findings with me. Did this Quick Find Search & Facet Filtering plugin help you with your nested data type searching?

I have many data types that are linked to my User data type and i’ve only just found out that native Do Search For isn’t going to work… e.g Available From is a field in the Professional Details data type, which is linked to the User. I’m unable to search for users by their Available From field.

I previously had huge amounts of un-normalized data, and i’ve spent a long time fixing it all, and it looks like it might not be searchable now that i’ve fixed it :confused:

Thanks in advance!

Hi,

I am making a music streaming app similar to Spotify.

What would be the best practice of using this plugin to search through multiple data types?

I have one search bar that the user can use to search for songs, albums, and artists, all of which are all separate data types.

Artists contain a list of songs and a list of albums, so would the best practice be to search for artists and use songs and albums as a facet?

Thank you for this great plug-in!
Jack

Hi, I haven’t used the plugin – I don’t need its functionality for my current use case, but was curious to know about it as a tool for down the road.

What specifically are you having trouble with for a nested search? I use them and they are pretty fast on my dataset

Ah ok. My issue is that Im searching for Users (Job Applicants) with a bunch of constraints determined by a data type (Job Post)

Previously my constraints were all applied to fields directly within the User data type, but I normalised my database and shifted much of the data into different tables and made a link to the User. Now i’ve come back to re-apply the constraints with the new design and I found that I can’t access the linked data types from the constraints tab within Do Search For.

It feels like bad database design to have fields such as Available From, Seeking Work?, Smoker?, Visible Tattoos?, Location… within the User datatype directly. These belong in a Professional Details data type, but i’m unable to do this and still apply constraints on these fields with them separated out like this.

Fortunately I didn’t delete any of the fields I moved out of the User, so it’s not a huge rebuild, but any advice on best practice for this case would be awesome. Thanks.

Dave