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

Access Firebase Child Node in Node.js - Firebase Cloud Functions

Here is how my Firebase Schema is laid out: I am able to index everything except _geoloc: into my Algolia Index with this code: 'use strict'; const functions = require('firebase-functions'); const admin =…
0
votes
1 answer

Algolia, Show results when one word match

I don't know if I have a problem with my configuration or if there is something else to do but when I search "word1" I get some results, and "word1 word2" I don't get any. "word2" my be any type of word (like "kfuzefzuefd"), it's normal that I don't…
0
votes
1 answer

Algolia search causing heroku app crash

I am trying to use algolia search on a heroku server. It works fine locally. However when it is loaded onto heroku it crashes giving this result: /app/dist/algolia/algolia-manager.js:28 2017-05-15T17:40:19.948991+00:00 app[web.1]: …
xerotolerant
  • 1,955
  • 4
  • 21
  • 39
0
votes
1 answer

Algolia Places REST api won't authenticate

function httpPost( $url, $data ) { $curl = curl_init( $url ); curl_setopt( $curl, CURLOPT_POST, true ); curl_setopt( $curl, CURLOPT_POSTFIELDS, $data ); curl_setopt( $curl, CURLOPT_RETURNTRANSFER, true ); $headers = array( …
Jane T
  • 2,081
  • 2
  • 17
  • 23
0
votes
1 answer

Algolia instantsearch pagination doesn't show 2nd page result

I am working with laravel vue and algolia. Everything working fine except the pagination properly. The pagination is working but only it shows the fisrt page result. When i click 2,3... pages link of pagination button it doesn't fetch the next page…
Wahidul Alam
  • 1,216
  • 4
  • 26
  • 56
0
votes
1 answer

How to implement algolia intantsearch pagination?

Can anyone guide me please on how to add algolia instantsearch pagination? I have tried following code.. not worked : instantsearch.js var search = instantsearch({ // Replace with your own values appId: 'myid', apiKey: 'mykey', // search only…
Wahidul Alam
  • 1,216
  • 4
  • 26
  • 56
0
votes
1 answer

What is the per batch size limit of Algolia operations

I can see that the per record limit for Algolia records is 10kb: https://www.algolia.com/doc/faq/basics/is-there-a-size-limit-for-my-index-records/ I am not sure though what is the limit per batch operation? The recommendation is 1,000 or 10,000…
kzap
  • 1,411
  • 13
  • 20
0
votes
0 answers

import AlgoliaSearch with Swift 2 causing error

Adding this line to my App import AlgoliaSearch returns this error: 2017-05-08 22:35:07.814593 XXXXXX[6255:2627487] -[__NSDictionaryI length]: unrecognized selector sent to instance 0x1702f0980 2017-05-08 22:35:07.816565 XXXXXX[6255:2627487] *…
russell
  • 176
  • 1
  • 12
0
votes
1 answer

How to set hits per page on Algolia autocomplete

In the documentation of autocomplete, it states: Hits To build a source based on Algolia's hits array, just use: { source: autocomplete.sources.hits(indexObj, { hitsPerPage: 2 }), templates: { suggestion: function(suggestion, answer) { …
Jasper Kennis
  • 3,225
  • 6
  • 41
  • 74
0
votes
1 answer

Algolia Shopify Instant Search on index.liquid

I recently installed the Algolia Shopify plugin. I was trying to bring the installed search page to a div on my homepage (index.liquid). Is there anyway to do this? It seems like instant search only works from the /search page. Thanks!
MrBalloons
  • 15
  • 5
0
votes
1 answer

How can I set Algolia searchableAttributes on an instantsearch widget?

I am trying to set searchable attributes so that these can by dynamically controlled by locale. I am attempting to follow this guide from algolia on multi lang support: https://www.algolia.com/doc/guides/search/multilingual-search/ The example…
Thomas
  • 2,426
  • 3
  • 23
  • 38
0
votes
1 answer

Is it possible to rank results from a multiple index search using Algolia?

I'm using Algolia API with PHP and currently I have 4 indices (one per DB table as they recommend). When submitting a search I'm doing a multipleQueries query to search all indices but the problem is that in the result set each index is ranked and…
blackbird
  • 1,129
  • 1
  • 23
  • 48
0
votes
1 answer

Rails: Worker failing and increasing memory usage

I've got a weird issue when using Sidekiq with Algoliasearch in my Rails application. Whenever I start sidekiq, it automatically performs all actions I configured with Algoliasearch: # A post model include AlgoliaSearch algoliasearch if:…
heroxav
  • 1,387
  • 1
  • 22
  • 65
0
votes
1 answer

Algolia search result order

We have an Algolia attribute field called tags where we have entered relevant terms for the items people want to search. Record #1 has tags: {"iphone", "phone"} Record #2 has tags: {"phone", "wifi"} If someone searches for phone, how can we…
Daniel
  • 21
  • 3
  • 5
0
votes
1 answer

Firebase Full-Text Search using Algolia

I configured different firebase functions by following this . Now in this, there is firebase full-text search. I tried to follow it but it seems to be incomplete. I have searched and somehow got success in deploying. But it is still not creating…
Abdul Rehman Khan
  • 162
  • 1
  • 4
  • 23