Currently, it is not possible to delete a list of Algolia, however, we will investigate adding a such feature in the next plugin update. Once the investigation is completed, we’ll get back to you with more details.
Hello, is it possible to add a function to this plugin? Instead of having to send thousands of individual records, it would be great to batch them by hundreds or a thousand.
In order to better understand your request, can you please let us know how exactly you want to batch data - by attribute or by records?
There are 2 possibilities:
We are looking to hearing from you soon.
Best regards,
Zeroqode Support Team
I want to be able to send a list of records to Algolia for creation. Currently you plugin only allows one record creation at a time. I need the ability to send a larger JSON lists of objects to be created. If I was to use the bubble backend API one at a time it would take hours to send each object one at at time. Below is a link to Algolia’s discussing sending batches to their API.
Algolia lets you send one or more records in a single API call, or batch records. You can batch your indexing operations via the API or the dashboard.
For optimal indexing performance, you should send your records in batches. An ideal batch size is ~10 MB, which represents between 1,000 or 10,000 records depending on the average record size.
Batching has several benefits: it reduces network calls and speeds up indexing. Users with lots of records see the most significant impact on performance, but every Algolia user should batch indexing operations whenever possible.
Batching doesn’t change how Algolia counts indexing operations. Every indexing operation adds to your count. If you send several records, each of them still counts as one operation."
Something like the code below.
const Algolia = require(‘algoliasearch’);
const client = Algolia(process.env.ALGOLIA_APP_ID, process.env.ALGOLIA_API_KEY);
const index = client.initIndex(‘you_index_name’);
We need to highlight that we have pretty detailed documentation for this plugin. Under the Bubble Setup and Usage section, we have quite a detailed list of plugin content described:
We named all the fields according to some rules, however, we have a lot of information about using all the keys.
For example, you can quickly check our free course for the setup of the Algolia plugin (The second lesson shows how to set up API keys) :
In order to help you and investigate the root cause of the issue and how to fix it, please share with us as many details as possible about your current setup of Algolia and the plugin itself.
We are looking to hearing from you soon.
Best regards,