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
0
votes
1 answer

Algolia autocomplete - how to make responsive

I'm trying to implement Algolia's autocomplete (which I believe is built off Twitter's Typeahead?), following the example on their site: https://www.algolia.com/doc/guides/search/auto-complete/ Is it possible to make the dropdown responsive? Eg on…
user6122500
  • 892
  • 1
  • 15
  • 31
0
votes
1 answer

Searching through related indices on Algolia

I'm trying find out if there's performant way to search through my current data structures, or if I have to restructure them. I have the following structure for my indices: Publication (attributes: id, title, keywords) PublicationFile (attributes:…
Omar Bahareth
  • 875
  • 6
  • 22
0
votes
2 answers

How can i fix AlgoliaSearchUnparsableJSONError from Algolia Search helper package in nodejs

when I try to query data from algolia using algolia search helper package in nodejs. randomly getting response in "error" event as below.when once got this error then always getting this error for the query till restart nodejs. Error :- { "name":…
Visakh C S
  • 3
  • 1
  • 2
0
votes
1 answer

Algolia autosuggest library generating postmessage with invalid data (twitter typeahead)

We're using the Algolia autocomplete module with our React application. We noticed that this autocomplete library is using postmessage to send messages. The messages that the library is sending appear to have data that throw an exception if…
Brian
  • 31
  • 2
0
votes
1 answer

How do I include several geolocations on one record via algolia-rails gem?

According to this blog post, Algolia now allows several geolocations on a single record. All we have to do is to pass it as an array. I've tried it with the algolia-rails gem but was unable to do it. Here are the combinations I've tried that does…
oky_sabeni
  • 7,672
  • 15
  • 65
  • 89
0
votes
1 answer

Algolia for Wordpress: In creating a filter facet widget, how do I sum values from multiple attributes?

I'm using Algolia search within Wordpress and I'm attempting to create a facet that will allow the user to filter results based on a numerical range. The issue is that I need to get the sum of a number of attributes for comparison. For instance,…
0
votes
1 answer

Algolia unknown parameter

I'm using algolia to search in a rails app using the algoliasearch-rails gem. In my product model, I have this: algoliasearch index_name: "Product" do attributes :id, :name, :description, :active? ... end I'm trying to filter results by a…
Mark Swardstrom
  • 17,217
  • 6
  • 62
  • 70
0
votes
1 answer

UncaughtUncaught syntax error unexpected token u in JSON at position 0

I'm currently using the Algolia JS API but for some reason I keep randomly getting the following error in console: UncaughtUncaught syntax error unexpected token u in JSON at position 0 My current code looks like this: var params = { …
user2028856
  • 3,063
  • 8
  • 44
  • 71
0
votes
1 answer

Can I set Algolia to only use a subset of the records I sent for development?

Can I set Algolia to only use a subset of the records I sent there for a development? I am running out of record space on my development indices.
Chris Edwards
  • 454
  • 1
  • 9
  • 22
0
votes
1 answer

Algolia-Firebase body must contains an object near line

I am trying to upload my Firebase data to Algolia. I am using the example script in Algolia site. This script successfully works for months. But today, I cannot upload my data. The script as follows: var algoliasearch = require('algoliasearch'); var…
starrystar
  • 668
  • 3
  • 8
  • 22
0
votes
1 answer

searching for all occurrences of a string in algolia

In Algolia, currently when I search for say " amazon books" in my database that has entries of amazon bag books from amazon amazon books books from google books I get "amazon books" as the result. What I am looking for is for all entries with…
NetCod
  • 191
  • 1
  • 2
  • 12
0
votes
1 answer

Algolia generate Invalid Secured API-Keys

So I'm trying to generate some secured API-Keys but it seems that they aren't generated right, I've followed the API docs without any luck. This is what I'm doing var algoliasearch = require('algoliasearch'); var admin_client = algoliasearch('APP',…
David De Anda
  • 385
  • 2
  • 7
0
votes
1 answer

Does Algolia use ASCII or UTF-8 to calculate the size of an entry's JSON?

The Algolia FAQ says that the maximum size of an entry is a minified JSON size of 10KB. However it doesn't say whether the JSON string is ASCII or UTF-8 encoded so I'm not sure how to actually calculate that myself. Edit: It also appears as if the…
0
votes
1 answer

Algolia keeps displaying old product results, even after reindex and cache clear (Magento2)

I'm using the Algolia plugin for Magento2. I recently moved from one domain to another. I've created a new index in Algolia, reindexed my site (including the "algolia_additional_sections" table), and cleared all cache, but I'm still seeing a few…
Lauren
  • 177
  • 1
  • 2
  • 11
0
votes
1 answer

Exclude Filters Using InstantSearch.js?

We are using Algolia to index content from a variety of sources and for a dozen different products. Right now I have one index and product is a configured facet. I need to find a way to restrict searches to only those products the user owns. I'm…
GregVP
  • 73
  • 1
  • 6