[New feature] [Beta] Algolia search integration!

Hi

Just for info that Algolia Places is being discontinued (support is still provided until 31-May-2022)

@allenyang is it possible to configure what rows of data are actually synchronized with Algolia within a certain data type. For example, if you have a Listings data type with a ā€œSoldā€ attribute, could you setup the integration such that only the Listing data rows where Sold = false would be sent over to Algolia?

Is there a link to the editor page for this demo?
(https://halfbakedoath.bubbleapps.io/algolia-demo)
To see how the plugin was integrated, if one was used…

Hey there @lewis.rachelt,

There’s an example of Algolia setup on the Bubble Docs: Using Algolia - Bubble Docs

Thanks johnny. I bought the Algolia pluin from zerocode, and would like to know if there’s somebody out there that has succesfully integrated it (I’m sure there is) that would be so kind as to share some more detailed steps as to how they got it working. I’ve followed along the zerocode algolia demo in bubble, and have manually uploaded an index…but can’t seem to see any search results??? Do I have to have a paid plan for Algolia to work…even when i paid for the plugin?

You should create a separate thread because you purchased a plugin not maintained by Bubble themselves, but by @ZeroqodeSupport

Hello, @lewis.rachelt

Please find our answer in this thread: Alogia Plugin - zeroqode

Best regards,
Zeroqode team

I can confirm that I bought the zeroqode Algolia plugin and integrated it. Works pretty well! Search is WAY better than the default search.

Here’s my site: https://futureshop.co

Algolia searches as you type, and counts each search against your quota, so I did a little ā€œhackā€ where I sent a fully typed search into a field, and then fed the whole thing to algolia, before retrieving the results and displaying them.

4 Likes

@aless and @allenyang Do you have plans to allow privacy settings?

I see it’s only working for public data apps, like an AirBNB. But not available for private data like a CRM.

1 Like

I saw on your page that you managed to select each item, so that the client could put hearts on the product they like. How did you manage to do that? I tried it the same way that I do it in a user RG, but here when I declare the status and bring the profile / product it brings it in order, for example if I choose number 1 and then 3, instead of 3 brings the 3. I don’t know if my query is understood

Do you have to have the professional bubble plan in order for this Algolia search to work?

Yes you do

No you don’t, not with the zeroqode plugin.

I’m not exactly sure how you’re trying to set it up, but I set it up as the following:

  • There are three data types: products, users, favorites
  • The product data type holds products, and users holds users.
  • The favorites holds each instance of a user ā€˜favoriting’ a product. So each favorite has 1) a user, and 2) a product.
  • When a user clicks on the heart icon, if there is no favorite that has that product and that user, then a new one is created.
  • When a user clicks the heart icon and they already had ā€˜favorited’ the product, then that favorite is deleted.

Thanks for answering, question, are you using the zeroqode plugin simple search or natively?

I am setting up my search with the simple search and it brings the data in the text fields. The problem is that it only serves to show the data visually but not to work with it. I already achieved the same through a set state, grab one of the algolia data and then search for it in the database and from there be able to play with them. But I don’t know if it’s the same logic as yours.

The algolia search will only pull in text fields. I use the bubble unique id for each product entry to convert the algolia text result to a bubble product data entry.

So let’s say the algolia result is 100 products. That will be a list of 100 unique id’s for products. The datasource for the repeating group will be that list of 100 algolia results.

Then, for each cell in the repeating group, the data source will be a search for the product that matches that unique id. So now I can reference all the data of that product in bubble, rather than algolia.

I still need data fields in algolia for searching and indexing, but I only need to send the unique id’s back to bubble in the search results.

incredible idea, I am impressed that zerocode does not have a good tutorial on how to implement it, hopefully it will give us that gift soon

Yes I do have the zeroqode plugin, but for some reason I have to manually upload all the data to Algolia still, instead of it automatically pulling it. Am I missing something?

Hi @lewis.rachelt, thanks for your question.

Could you please provide more details of your use case?
That will help us to understand the support and guidance that we can provide.

Namely:

  • the steps of your current setup related to Algolia
  • and, the desired workflow for your case.

Looking forward to your reply.
Regards,

Zeroqode Support Team

1 Like

This integration is useless without retrieving the queryID for the search.