Services Plugins FAQs

Querying Issue with Algolia Plugin (Bubble.io)

Hi,

I built a search page that allows users to query and view results on a web page from an Algolia index. The problem is many of the fields are returning as blank/empty and not appearing on the web page even when there is data in the index.

I put together a test environment so you can recreate the behavior.

Here are the steps:

  1. Go to https://syftnews.com/version-test/

  2. Log in with username: test@gmail.com and password: Password1! (button is located at the top right corner of the page)

  3. Click on the log in button; you will be redirected to this page: https://syftnews.com/version-test/my_frontpage?source=cnn&sentiment=all&n=1

  4. You should be able to see a description for the first article (see picture below) titled “How we can contain covid-19 without a vaccine” but nothing appears

  5. Please note that if you scroll down the page you will find additional examples of descriptions not appearing

  6. Also note that if you scroll down to the bottom of the page and click “1” you will be redirected to the first page, where everything looks correct

Here is the data in the Algolia Index with the expected headline and description for reference.

I’d love to figure out what is causing this behavior and how to fix it.

Thanks!

Hi @weinstein.adam.s,

Thanks for reaching out. Unfortunately, we can clearly see there is an issue but we need a bit more details for a proper investigation. Could you please share screenshots of your plugin version, app and plugin setups, so we can see all the settings and reproduce the exact steps on our side. This way we can have a better input, then come back with working solutions asap.

Thanks in advance for patience. :pray:

Best,
Alex

Hi Alex,

I appreciate the help! Here are the screenshots you asked for. Please let me know if there is anything else you need.

Plugin Version:

Plugin Setup:

I also want to note that changing the query field fixes certain articles. For example, changing this query to “covid” from “all” fixes the issue, but not for the use-case we need. We want to use a generic query (or an empty query) that returns all results that match particular filters defined in the above image. However, I’ve found an empty query returns no results on the web page.

This screenshot shows the description does appear when the query field is changed to “covid” from “all”:

App Setup:

For each field (i.e. headline, description, source) I’m using a text box with dynamic data.

Headline:

image

Description:

image

Source:

image

Sentiment:

image

I am also using the List of Numbers element from the bubble toolbox:

Best,
Adam

Here is the link to the editor as well: https://bubble.io/page?name=index&id=syft-news&tab=tabs-1

You should have access to view.

Once in the editor please go to my_frontpage and check relevant element Text Search Description 1 found nested in Row 1 > Group A > Group Algolia Result

You can also take a look at AlgoliaSimpleSearch A nested in Row 1 > Group A

Hi @weinstein.adam.s,

Thanks a lot for your feedback. We managed to look into your app, and perhaps we found the reason of this trouble. You see, the best way of using this plugin it is a RepeatingGroup which handles the whole list, then you can retrieve the values you need in child elements, whether it is a group or simple text.

You can still have the same look of your my_frontpage page, but please try to re-create it by using a RG element instead. Please use our docs and demo editor for reference. Then give it a try again.

However, if you still experience the same trouble, could you please grant full access to your app and create a testing page so we can tweak it on your end if you don’t mind, of course. This would speed things up for a better investigation.

Best,

Hey Alex,

Thanks for looking into it. I created a lighter testing page using the repeating group, but unfortunately, the page is still missing data.

I created my_frontpage_rg for the test.

Editor: https://bubble.io/page?type=page&name=my_frontpage_rg&id=syft-news&tab=tabs-1

Test link: https://syftnews.com/version-test/my_frontpage_rg?debug_mode=true&source=cnn&sentiment=all&n=1

Logging into the test site with test@gmail.com and Password1! will now redirect you to the test link as well.

I also granted you full access to edit the page.

Please disregard the “issues” at the top of the page as well. They are all related to Groupfocus elements that lost their reference elements by using a repeating group and other pages that I have been waiting to update until we find a fix for my_frontpage as they a similar format.

Thanks again for your help, and please let me know if there is anything else I can do to support the investigation.

Hi @weinstein.adam.s,

Thanks for feedback. We have managed to check on this testing page again. I’m afraid it is plugin-related issue. Please let our development team try to fix it asap, then I’ll get back to you with another reply.

Thanks in advance for your patience. :pray:

Hey @alexandru,

Sounds good. Please keep me posted on your progress.

Thanks!

1 Like

Hey @alexandru,

I wanted to touch base to see if you and/or the team have made any progress on this.

Thanks again for the help!

Hi @weinstein.adam.s,

Thanks for catching up. Our development team is still working on this fix. I’m afraid I cannot guarantee an estimate, but you can be sure I’ll notify you back as soon as we launch a newer version. :pray:

Hi @weinstein.adam.s,

Thanks a lot for your patience. We have managed to fix this issue. Please upgrade the plugin to the latest version, refresh your app and give it a try again.

Let me know how it goes. :pray:

Cheers

Hi @weinstein.adam.s,

Just reaching out to ask if the latest fix has made your app work as expected with our plugin? Could you please confirm :pray:

Thanks!