Questions tagged [algolia]

For programming-related questions about Algolia, the hosted search API. For non-programming related questions or general discussion, please post your question on discourse.algolia.com instead. You can expect a prompt, friendly reply from our team or community.

Here are some Algolia-related links you might find helpful.

1596 questions
9
votes
2 answers

Algolia vs Solr search

I'm building a product search platform. I used Solr search engine before, and i found its performance is fine but doesn't generate a user interface. Recently I found Algolia has more features, easy setup, and generates a User Interface. So if…
mah.aziz
  • 177
  • 1
  • 6
8
votes
0 answers

Integrating an Algolia InstantSearch Vue Component into a Vuetify Data-table

I am building a Vue JS Application, with a Vuetify data-table, and an Algolia InstantSearch Vue Component into it. However currently the data-table, and the InstantSearch index are using different data sources. How should I integrate the search…
8
votes
1 answer

Not enough rights to add an object in Algolia Laravel

I have a problem with using Algolia. Working with database but i can't save it in to API Algolia.com. I tried to search through google but i didn't get any results for this problem. My controller: public function store(Request $request) { $role…
Overload
  • 81
  • 2
8
votes
1 answer

Multi-language indexes with Laravel Scout and Algolia

How should I manage the multi-language indexes (For example: page / page_translations models should become page_en / page_fr indexes). I am using "Dimsav\Translatable" package. Page model: id, status_id, created_at, updated_at PageTranslation model:…
Dorin Niscu
  • 721
  • 1
  • 9
  • 26
8
votes
3 answers

Algolia filter equivalent to SQL IN for arrays?

I've got records in Algolia containing an array attribute with integer values, like : { ... choice_ids: [1, 99, 100, 200] ... } I want to filter all records containing any value of another array. For example I search for [1, 300, 400, 600,…
Nicolas Blanco
  • 11,164
  • 7
  • 38
  • 49
8
votes
2 answers

Algolia: Delete multiple records from dashboard

How can I delete multiple records at once? Is it possible to select all, say "products" post_type, and delete it or it has to be one by one? (I'm not trying to clear all the records)
File_Submit
  • 395
  • 3
  • 13
8
votes
2 answers

Google or Amazon-like autocomplete keywords suggestion in Algolia

How do I achieve a keyword based autocomplete suggestions in Algolia similar to something like Amazon or Google? I attempted building the autocomplete based on multiple attributes of an Algolia document, however its purpose does not really help me…
GiamPy
  • 3,543
  • 3
  • 30
  • 51
7
votes
1 answer

Algolia Search Network Error

I'm connecting Algolia with a Firebase project I have. I'm using the Firebase Cloud Functions in order to keep my Algolia index synced with all changes that occur in my Firebase database. But whenever I call index.saveObject(firebaseObject); from…
7
votes
1 answer

Does Algolia have a boost score feature like Elasticsearch?

I have a requirement on sorting a field which is when a value matches its field, then this document has a higher score than other documents. Can Algolia do this?
7
votes
1 answer

How do you filter Algolia Results and omit a specific objectID

I'm trying to filter algolia results and want to use the name of a product to find similar products in our database. I would prefer to ignore the current product so, in the case no results are found, the removeWordsIfNoResults option will be…
Mark Swardstrom
  • 17,217
  • 6
  • 62
  • 70
7
votes
1 answer

Algolia instantsearch.js callback function

I am using Algolia instantsearch.js as my site search. The setup process was rather easy and straightforward, including .js and .css files, creating templates and then create one more .js file with app() function for setting up my app (appId,…
Silver Ringvee
  • 5,037
  • 5
  • 28
  • 46
6
votes
1 answer

How to query algolia data with in the array of object

I have a data array with multiple objects in Algolia index as below. [ { status:available startDate: 2000-10-20 endDate:2022-10-20 availablePlatform:[1,2,3] availableCountry:908, }, { status:available, startDate:…
Piusha
  • 594
  • 5
  • 11
6
votes
1 answer

Algolia - get mass records & delete with filter

I am using Algolia for search purposes and we got a huge pile of records. We want to delete some records and have decided to delete records that are older than X date. First I was using this const records = []; const deleteRecordsBeforeDateAlgolia =…
6
votes
0 answers

Algolia - Uncaught, unspecified "error" event?

I've recently integrated Algolia search for a client, and it has come to my attention that it currently doesn't work for any IE based browsers. Below is an example of the code, we're using and the library files we're including. I've tried multiple…
NicolJamie
  • 61
  • 1
6
votes
1 answer

Algolia Remove _highlightResult from search results

In the response from a search call, I get back a hits array and each item in the array includes a _highlightResult property. Is there any way to prevent that property from being returned in the search results?
Mark Tucker
  • 434
  • 5
  • 13