Services Plugins FAQs

Need help with Algolia Filter Setup

Hi there,

Collaborator has been added to the app.

Name: gunfind-sa
Page: classifieds

Hi there,

Any update on this issue as yet?

@alex.grimacovschi ,

Just following up on this request again?

Hello @pieter, thank you for providing access to your app. Our team will check your app asap and will come back to you with an answer.

Best Regards,
Alex

@alex.grimacovschi, just checking if you’ve managed to find the issue as yet?

@pieter,

I was writing to you right now.
Our team checked your app and found that the issue with filtering is caused by a bug in the plugin. We already started to work on fixing the bug. Once the updated version of the plugin with fixes will be published we will let you know.

Best Regards,
Alex

Thanks @alex.grimacovschi

Any idea around timelines?

@pieter
Unfortunately, I cannot provide an estimate of when the solution will be available. Our team will do its best to provide the solution at the first opportunity.

Best Regards,
Alex

@alex.grimacovschi, just checking if the fix has been implemented as yet?

Hello @pieter, our team is still working on the fix. I will let you know once the updated version of the plugin will be published.

Best Regards,
Alex

Hello @pieter,

We pushed an update for the plugin that should address the issue you were facing. Please update the plugin to the latest version and give it a try.

Please note that in order to have filtering functionality working properly you should set up filters in your Algolia Dashboard. Here you can find how to do that. Also, the format of data used as filters changed, don’t forget to edit them accordingly.
image

Best Regards,
Alex

Hi @alex.grimacovschi,

I am having similar issues using filters in the Algolia plugin (version 3.14). Without anything in the filter I am able to make the search work, but after adding filters I get no results.

I imagine that my issue could be due to the syntax I used when defining the filter, as I was not sure how to write the SQL like syntax in Bubble. Could you provide an example of how to define filters in the plugin?

Thank you,
Stephane

Hello, @stephane.kattie. Thank you for your question.

Would you kindly check out the plugin documentation, Configuring display for your index section:

For additional info please use this Algolia reference (examples):
image

I hope this info will be useful for you :pray:
Regards,

Hi @kate,

I was able to make it work by following the syntax in the plugin demo page (https://zeroqode-demo-11.bubbleapps.io/algolia_easy_search). Thanks a lot for sharing that!

I am now having an issue when filtering for more than 2 attributes. I am not sure if this could be due to my syntax? Everything works fine with one or two filters, but adding the third filter does not return the expected results.

Filter with 2 Attributes
2 Attributes

Filter with 3 Attributes
Screen Shot 2020-06-23 at 12.45.39 PM

Let me know if you need more information.
Regards,
Stephane

Hello, @stephane.kattie, thanks for the details.

I need to check your issue with my dev colleagues. When there will be needed any more details from you, or when I have any useful info on your request - I inform you asap.

Thank you for understanding :pray:
Regards,

Thank you @kate :slight_smile: I look forward to hearing back!

1 Like

@stephane.kattie, thank you for your patience.

There are no limitations on the number of attributes, added to the Filters field. You can set as many filters, as you need. Please take a look at this documentation:

Indeed, you had problems with displaying the result of the filtering because of your syntax.

You have indicated the condition, that if statement A (Product Display…BrandFilter) AND statement B (Product Display…VariantFilter) are true, then display the result.

When you add the third statement С (Product Display…TypeFilter), with the AND operator between them, you limit the search action to another condition, which, in turn, reduces the likelihood of output.

Your current syntax is (a) AND (b) AND ( c). Can you please try to change it to (a AND b AND c)/(a AND b OR c)?

I hope it helps.
Regards,

1 Like

This is exactly what I needed! Thanks a ton, @kate :smiley:

Changing it to (a AND b AND c) instead of ( a ) AND ( b ) AND ( c ) worked :raised_hands:t5:

Regards,
Stephane

1 Like

this mean like this?
Can i do this with a filter?

input “iphone”
↓↓↓
Get search results of “iphone”(100 items)
↓↓↓
fillter under $500
↓↓↓
show items under $500 (30 items)

input “iphone”
↓↓↓
Get search results of “iphone”(100 items)
↓↓↓
fillter from $1000 to $500
↓↓↓
show items from $1000 to $500 (10 items)

@takanasale3, hi :slightly_smiling_face:

Please find an answer on your question in this thread:
What exactly can the Algolia search filter do? - Plugins - Zeroqode Forum

My colleague Ecaterina has replied there.
Hope it helps!

1 Like