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

Display Instant Search on the homepage

I'm having trouble getting the Instant Search to display on the homepage of my Magento site. Instant search works perfectly throughout the rest of the site assigned to a custom dom. (I'm actually putting the Instant Search feature in the site…
0
votes
1 answer

Index shared by two different websites but with different permissions

I have an index in Algolia and two websites. As example, the record is: [{ name: "record 1", public: 1 }, { name: "record 2", public: 0 }] Those two websites search into the same index, but what I want is: the first website can…
0
votes
1 answer

Algolia passing search state between different components

Im trying to get algolia instantsearch for react router 4 to render results while the is in another component. In the header nav i have a normal input box and was thinking it might be possible to pass the search term as its being typed…
Nicholas Ritson
  • 869
  • 4
  • 13
  • 30
0
votes
1 answer

Angularjs app using autocomplete.js and reading from multiple Algolia sources not working

I'm trying to implement autocomplete functionality using AngularJS and Algolia's Autocomplete.js with two sources (indexes) from Algolia. The second source autocomplete works fine, but the address autocomplete only works for the first letter/number…
Brasseale
  • 11
  • 2
0
votes
2 answers

Apollo subscription with graph.cool and Algolia

Now I have Meteor app with MongoDB geo-indexes. And I'm using this kind of pub/sub: Meteor.publish('items', function itemsPublication(NELat, NELong, SWLat, SWLong) { return Items.find({ $and: [ { 'till': { …
none
  • 1,699
  • 2
  • 13
  • 18
0
votes
2 answers

Object with longer field is returned against an object with a short field

Let's say that we have an index with two objects: { "name": "iPhone 6s Plus big screen, super fast, ultra responsive, blah blah" } and: { "name" : "iPhone 6s Plus" } Now, when i search for iPhone 6s Plus, it returns the first object which does not…
flienky
  • 23
  • 1
  • 6
0
votes
1 answer

Algolia : Search result order

I have some difficulties in the ranking configuration in algolia. I have a resultset like this when I search for "Contrat" : [ { "ope_id" : 1, "ope_lib" : "Contrat de maintenance en entretien de toitures", "ope_description" :…
0
votes
0 answers

Firebase Algolia Syncing with node.js - Initial import works but updates don't automatically sync

I have a node app that syncs my Algolia and Firebase databases together and after following the documentation on Algolia's site, I've been able to get the initial import working. However, any time I update an entry in my Firebase database, I'm…
Stevie Star
  • 2,331
  • 2
  • 28
  • 54
0
votes
2 answers

Returning the number of results?

I'm looking to return the number of results found in an ajax fashion on Algolia instant search. A little field saying something like "There are X number of results" and refines as the characters are typed. I've read you utilise 'nbHits' but i'm…
John Macpherson
  • 167
  • 1
  • 5
0
votes
2 answers

Where is my Algolia Account Secret and its key?

I am using template (Full-text search via Algolia) in Firebase Function. See here At the end of this link you will see > setting up the sample Here it asks for algolia secret account and key. I have created account at Algolia when I go to my…
Abdul Rehman Khan
  • 162
  • 1
  • 4
  • 23
0
votes
1 answer

How to integrate search in my nativescript app

I am building a nativescript app that requires a search functionality. I am using firebase for my backend and I would ideally like to use a hosted search service like algolia for the same - however the algolia-search and algolia-search-helper…
0
votes
0 answers

How to deal with proxy restriction problems when using a search API like Algolia?

I am currently building an app using Laravel 5, I also have decided to integrate the Algolia search API for easy, quick and effective searches. I am using the search API for the posts of my app. The problem is that when under an internet connection…
Nelutu Fona
  • 547
  • 4
  • 11
0
votes
1 answer

Algolia Rails records with specific parent id

I'm not sure if I'm going in the right direction with the algolia-rails gem (and Algolia in general): Currently I have these two models: class Contact < ActiveRecord::Base include AlgoliaSearch belongs_to :account algoliasearch do …
John
  • 588
  • 1
  • 6
  • 22
0
votes
1 answer

Algolia conditional search

I have in my Algolia engine the next "entity" Professional objectID: "eyJpZCI6OX0=" ... status: id: 1 And I like to make a search just with the ones that have status = 1. I've tried this: $searchResult =…
Sergio González
  • 142
  • 2
  • 12
0
votes
1 answer

How do we prevent alphabetical ordering of returned facet values?

We're searching our index on algolia through the api and rendering facets and their values each time the search is updated. Each facet returns a maximum of 5 values to show the user. When a facet attribute is selected, the search result json returns…
David Haddad
  • 3,796
  • 8
  • 32
  • 40