Problem with ZQ Fuzzy Search and autocomplete

Hello, @kim3
Thanks for the details.

Since we have some additional questions regarding your settings, can you please add our Support Team email to the list of collaborators to your application and provide me a link to your application? This will allow us to check your settings and run some tests to fix the mentioned problem.

To add our Support Team as a collaborator, you need to do the following steps in the Bubble Editor:

Settings > Collaboration > Add email support@zeroqode.com

Note: avoid the warning message regarding the plan, as we are an agency and you can easily add us to your collaborators.

Looking to hear you soon.
Regards,
Zeroqode Support Team

Thank you - much appreciated. Iā€™ve done this now.

Hello, @kim3
Thanks for the access to your application.

We have checked your application and Iā€™m afraid, that you have set the Fuzzy Search and Autocorrect plugin not quite right.

Please note, that for correct work of the plugin, you should have on your page 3 elements:

  • Element of the plugin;

  • Input;

  • Repeating Group ( however, in your application you donā€™t use repeating group).

Very important thing is the Data Source of the Repeating Group. If you check the plugin demo page, you will see that the Repeating group Data Source = the database table on which you are doing your search. It means you should indicate the Do a search for database table name as a Data Source of your Repeating group.
image
Please try to replicate the settings from our Live Demo Page and Bubble Editor of this plugin in your application:

https://zeroqode-demo-16.bubbleapps.io/fuzzy

In case you will encounter some issues, please let us know.
Best regards,

1 Like

Thank you for looking into it - Iā€™ll have a go again.

1 Like

Hello @ZeroqodeSupport ! Thank you for the plugin!

Is there a way to ignore empty ā€œfields to searchā€? For example, not all the ā€œthingsā€ of the data source Iā€™m looking for has a value in the field I set to search in the ā€œfields to searchā€. When this is the case, I type something to search in the input but the plugin returns nothing, because thereā€™s something with an empty field in the database.

Thank you!

Hello, @caiohm.comercial
Thanks for reaching out.

First of all, please allow me to propose you analyze the documentation for the plugin: https://docs.zeroqode.com/plugins/zq-fuzzy-search-and-autocomplete

Here you can find some details regarding the settings for this plugin.
Please note that here you should indicate only the fields you are willing to search. However, in the Field to Search, you should display at least one data type.

As a workaround for your case, you can add the ā€œ-ā€ instead of an empty field in order to avoid any inconvenience:

In case we can help you with additional information - please let us know.
Best regards,
Zeroqode Support Team

1 Like

Hi, @ZeroqodeSupport
Thank you for replying! The workaround is a good option, Iā€™m going to use it

Thank you!

1 Like

Hi @ZeroqodeSupport , I am using Fuzzy Search and Autocomplete. On a FS&A I have a conditional custom state changing the data source. When the condition is true, Iā€™d expect the search will occur immediately on the new data source; instead, it is necessary to type again into the input box. Is it possible to perform the search without waiting for the typing event?

Hello, @gianluca2
Thanks for your question.

In order to provide you solution on your use case, we need to understand how exactly youā€™ve configured the plugin on your side.
Can you please share with us the conditions you set for changing the Data Source and also, the setting of the plugin element?

After receiving this information, we will be able to replicate your settings on our side and define possibilities to avoid typing.

Looking to hearing from you soon.
Best regards,
Zeroqode Support Team

Thank @ZeroqodeSupport ! The configuration of the Data Source field is:
ā€œSearch for Customersā€

(When I type in the input field a specific text, I find 2 record.)

The condition is a Custom State true/false. When the Custom State is true (set by a button), Data Source of the Fuzzy Search Control is
ā€œSearch for Customersā€ + Constraint ā€œUnique ID = ID read from another Customer Groupā€

When I clic the button, nothing happen and the RG is still showing the 2 records. Only if I type something in the input box (same text, I write again the last charter), RG is updated with the 1 record matching the constrain.

Hello, @gianluca2
Thanks for the description of the settings.

We suppose that the mentioned behavior of the plugin is related to the ā€œSearch for Customersā€ + Constraint ā€œUnique ID = ID read from another Customer Groupā€.

Usually, such constraints affect the pluginā€™s performance.
Due to the fact that we have some additional questions regarding your settings, can you please add our Support Team email to the list of collaborators to your application? This will allow us to check your settings and run some tests to fix the mentioned problem.

To add our Support Team as a collaborator, you need to do the following steps in the Bubble Editor:

Settings > Collaboration > Add email support@zeroqode.com

Note: avoid the warning message regarding the plan, as we are an agency and you can easily add us to your collaborators.

Looking to hear you soon.
Regards,
Zeroqode Support Team

Hi @ZeroqodeSupport

Iā€™m new to this and I canā€™t figure out why the ā€œField To Searchā€ fields are not showing up. Iā€™m sure there is an obvious answer, but I canā€™t figure out what that answer is. Any help would be appreciated!

Hello, @dowsett.justin
Thanks for reaching out and sorry for the inconvenience you faced with our plugin.

The most probable reason for this issue - is the absence of the Fields for this Data Type.
In order to provide you with the most accurate answer, can you please share with us the screenshot of this part of your DB:

Also, please do not forget to fill the Input ID or Text to Match:

Looking to hearing from you soon.
Best regards,
Zeroqode Support team

Thank you for the fast reply!

Here is the screenshot of that part of my database:

Iā€™ve also updated my Input ID and set the Text to Match to be an Input Box.

Thanks!

@ZeroqodeSupport the plugin keeps returning no results for me on the Community page of my app. I have used the plugin without any issue on other pages but canā€™t get it to work here.

I have tried:

  1. Removing and adding back each element
  2. Changing the element data source to a Search and to a RG - neither worked
  3. Moving elements around

Here are screenshots of my setup and I have added you as a collaborator. Let me know what you think. Thanks!



image
image

Hello, @dowsett.justin
Thanks for the screenshot :pray:

Seems like the Fields to search are applied Privacy Rules, which could affect the performance of your app.
We kindly ask you to provide us ( you can send us a DM) the screenshots of the applied Privacy Rules for the ā€œPersonalWritā€ type and settings of your RG.

Thanks a lot!
Best regards,
Zeroqode Support Team

Hello, @rod.danan
Thanks for the screenshots and adding us to your app.

Actually, the issue of the Fuzzy Posts element was in the DataSource, indicated there.
Please note that our plugin searching through the DataBase, but not through the Repeating group, as in your case (each new post of your user is saved in the DataBase, and after it could be retrieved in the app).
In your case, the plugin refers to the Repeating Group on the page, so it reproduces the error.

Moreover, the DataSourse of your repeating group is a correct one, and the plugin element should have the same source of entries.

Once we changed the DataSource of the plugin element, the search feature started to perform correctly:


Hope it will help you :slightly_smiling_face:
Best regards,
Zeroqode Support Team

Hey Zeroqode. Thanks for the quick response. I should have specified that it was actually version-testing (not version-test) where the issue is happening. As you can see the layout is different in the pictures. The data source is set up that way in version-testing but still not working.

Hello, @rod.danan
Thanks for the concretization.

First of all, please provide us with the credentials for the account, which we can use for entering exactly this version of the application.
Despite the fact that we created a new account, we always were redirected to the Version-Test, not Testing.
Thus, for speeding up the process of investigation, please share with us the required credentials.

Also, we have some questions regarding your settings, since we suppose that exactly your page construction affects the plugin. The main pending point is using Reusable Element in the Group, which is also grouped by the Repeating Group.

Unfortunately, the probability that the plugin will work is quite low:
image

Please let us know why you are using the Reusable Post in the Repeating Group?
Actually, you just overlapping one content with the same content from the group.

Looking to hearing from you soon.
Best regards,
Zeroqode Support Team

Just DMā€™ed you log in info.

For the reusable element, I donā€™t understand why that would make a difference. I use reusable elements in almost every RepeatingGroup in my app and many of those have a working Fuzzy filter with it. Reusable elements mean that a Post will look the same no matter where it is viewed.

Since the reusable element is used to display a single result, why would a Fuzzy filter that searches for records be affected?