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
55
votes
4 answers

Is there a way to limit Firebase's Blaze plan?

I'm currently working in a social network app and I need to do a search feature. Firestore does not support these kind of queries, so I need to use an external service like Algolia. The problem is that the free plan does not support connecting to…
Franco Muñiz
  • 811
  • 1
  • 10
  • 21
33
votes
1 answer

JavaScript - Converting a Date() into seconds

I'm using the Hacker News API made at Algolia here: https://hn.algolia.com/api I'm a bit confused as it says to search for posts since a certain time it says to run the following query: Comments since timestamp X (in…
germainelol
  • 3,231
  • 15
  • 46
  • 82
24
votes
3 answers

"Not enough rights to add an object" error while implementing Algolia

I'm trying to index contacts in Algolia. Here is my code: StreamReader re = File.OpenText("contacts.json"); JsonTextReader reader = new JsonTextReader(re);` JArray batch = JArray.Load(reader); // Add objects Index index =…
Ketan Vaghasiya
  • 384
  • 4
  • 13
21
votes
3 answers

Algolia Search api returns maximum 1000 records while my total records are around 50000

My index in Algolia contains around 50k records. While using javascript api for retrieving records it only returns maximum 1000 records, i am using search() function. Any suggestions?
Muzammil Naseer
  • 1,131
  • 1
  • 11
  • 26
20
votes
2 answers

How do I set Algolia to not return any results if the query is blank?

I'm using the instantsearch.js library provided by Algolia. The behaviour I want is: if the visitor hasn't entered anything in the search box then no results are returned. However, the Algolia documentation states that: If no query parameter is…
Milo
  • 1,067
  • 11
  • 16
13
votes
1 answer

Algolia Manual Auto complete in Flutter

I'm busy implementing indexed search in Flutter / Dart using algolia. I've ran into a problem that's not an actual problem. I'm struggling to figure out how to query for autocomplete results. Meaning, if I pass in the term "burg" I should be getting…
Filled Stacks
  • 4,116
  • 1
  • 23
  • 36
13
votes
3 answers

Laravel 5.3 - Multiple pagination on a single page not working

I am displaying paginated results that I get from Algolia. I have two queries in my controller that I paginate. This is how I send the data from the controller to the view: public function index(Request $request) { if(!$request->q &&…
Leff
  • 1,968
  • 24
  • 97
  • 201
13
votes
1 answer

Availability tracking with Algolia

I am working on an Airbnb-like website and I am in the process of rewriting our in-house, SQL-based search system with Algolia. It's been a really pleasant journey so far, as I have managed to remove a lot of legacy code and outsource it, with…
Alessandro Desantis
  • 14,098
  • 1
  • 26
  • 32
12
votes
2 answers

Algolia facet filter by empty/null value

Is there a way to filter hits by a property's value that is either null or an empty string? i.e., show me all objects that do not have an author facetFilters=author:null facetFilters=author:'' Or include it in a list of OR values? i.e., show me all…
George Hess
  • 639
  • 1
  • 8
  • 15
10
votes
2 answers

Laravel Multiple Model Events

I'm trying to sync my database with an external service. I'm using Algolia search in a couple of places across a web application. It's indexed with a couple of models however I need it to re-index in the event that any changes are made to the…
Luke Vincent
  • 1,266
  • 2
  • 19
  • 35
9
votes
1 answer

How to run Algolia Firestore extension import script?

I'm installing the Algolia extension for Firestore. Setup works just fine and it updates indices on add delete and update. But now I want to backfill it with existing data. The following steps are provided in the setup guide but I have no clue on…
Jonathan
  • 8,771
  • 4
  • 41
  • 78
9
votes
2 answers

Laravel Scout Search with FacetFilters?

As you know, using where() statement after the search method uses numericFilter. I am trying to filter my search results with string filtering. How can I use Facet Filter on search statement?
bl4cksta
  • 794
  • 12
  • 32
9
votes
1 answer

Algolia PHP API not returning all records

I am using Algolia search services in PHP, my API call is not returning all records. Any solution? maximum records returned are 1000, but total number of records are much more than 1000.
Qaisar Malik
  • 439
  • 3
  • 6
9
votes
1 answer

Algolia browse function returning max 1000 records using Javascript

I am using algolia javascript api for retrieving all records in my index using browse function, but still it is returning 1000 records. Here is my code: function load_location_list(){ var client = algoliasearch('ID', 'KEY'); var index_name =…
Muzammil Naseer
  • 1,131
  • 1
  • 11
  • 26
9
votes
1 answer

How to search by duration in Algolia

Let's say I am building a hotel booking platform, and every Room record has availability calendar. A common search criteria is to search by duration. Where user inputs start date and end date, and database fetches rooms that are not occupied from…
Chris Yeung
  • 2,613
  • 6
  • 34
  • 57
1
2 3
99 100