For Algolia InstantSearch libraries issues and questions.
Questions tagged [instantsearch]
75 questions
1
vote
0 answers
React InstantSearch resetting every time custom component state changes
React InstantSearch is not persisting when results are clicked and sate is updated. I am using custom hits results with React InstantSearch connected to Algolia.
All components are custom defined outside the InstantSearch component on the page. Any…

Peter Mangan
- 11
- 1
1
vote
1 answer
Disable typos in algolia ais-refinement list search for facets
I am using algolia angular instantsearch and TypesenseInstantSearchAdapter.
I've created custom ais-refinement list component and now stucked, because when i am searching inside facet list i get results with typos.1
I tried to add numTypos: 0 to…

IvanVolkov42
- 31
- 4
1
vote
1 answer
Algolia: Change label of currentRefinements item
I'm using a toggleRefinement widget to check if an item is on sale.
There is an extra attribute in my index called on_sale. It has true or false value.
As a result my currentRefinements widget shows true or false instead of a better text like "Only…

Cray
- 5,307
- 11
- 70
- 166
1
vote
0 answers
How do I generate SEO URL's using Instantsearch
I'm using Algolia's Instantsearch.js with Typesense adapter, which works well for my search page, but if I go to the search page with a query or refinement in the URL, it doesn't filter. For example, if I do…

Keith Petrillo
- 151
- 3
- 17
1
vote
1 answer
Failed to resolve following three dependencies in Android studio
dependencies {
...
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
//Lifecycle Extensions
implementation…

Apoorv Srivastava
- 65
- 1
- 5
1
vote
0 answers
InstantSearch in controlled mode with custom input element causes maximum update depth error
With React InstantSearch, I am trying to a) use a custom search box and b) access the searchState (to determine if the user is searching or not).
This code causes Maximum update depth exceeded when something is typed in the searchbox. As shown in…

aaa
- 11
- 1
1
vote
0 answers
Having a hard time trying to filter out the hits in my Algolia InstantSearch searchController
My goal is to filter out hits by schoolID. School users on my app have unique schoolIDs and I want them to be able to search through events that only they created and not see any other school's events. I’ve been wanting to figure this out ever since…

dsonawave
- 137
- 2
- 12
1
vote
2 answers
How can i filter my search by an boolean atrribute?
How can i filter the hits? i have this structure: the Hit have an attribute 'like' its a boolean, i want to show only the Hits with like===true
…
user12327546
1
vote
0 answers
How can I select the algolia search hits and redirect it to the desired Viewcontroller?
So I finally figured out how to setup Algolia search in my app. It felt good for 10 seconds when the hits showed up as I typed, but then I clicked one of the cells and realized it doesn't instantiate the TeacherDetailsViewController like how my…

dsonawave
- 137
- 2
- 12
1
vote
1 answer
How would I go about de-serializing a list of objects using Kotlin's serialization library?
I've been running into the following exception at runtime with the debugger trying to de-serialize data from my Algolia index for my Kotlin Android recipe app I am trying to create by using the Kotlinx.Serialization library. The app compiles and…

Delectitizing
- 15
- 4
1
vote
1 answer
How to prevent initial load from Algolia instant search in react native?
I have a users collection which I want to query as the user types, but when I switch to the Search Users Screen, all the users have populated on the screen even the search is empty.
How can I prevent this and only send the results to the client when…

yashatreya
- 782
- 1
- 9
- 32
1
vote
1 answer
How to work with KotlinX serialization for ArrayList and Date types with Algolia
I am trying to use the kotlinx serialization with Algolia for types ArrayList and Date but I cannot figure out the serialization technique. Any pointers because I have resorted to the manual way that is not recommended by Algolia.

Beast77
- 193
- 1
- 17
1
vote
0 answers
Algolia Import Statements aren't working (Kotlin/Algolia)
Some of the import statements and code specified by the tutorial is highlighted as incorrect. Algolia instantsearch Android documentation can be found here. I dont understand why I keep receiving the following errors. Any guidance would help.…

Chad Alpha
- 11
- 2
1
vote
2 answers
Filtering results at query time Algolia Search
I'm working on a personal Android application in Kotlin, and I want to implement an InstantSearch. I have the following record construct in Algolia:
{
"creationTime": 1566396861797,
"description": "It's my second home now...",
"imagePath":…

Dvir Barzilay
- 87
- 1
- 11
1
vote
3 answers
Why is Algolia Client not resolved in android studio?
I don't know why android studio is not able to resolve Client and Query from the import statements:
import com.algolia.search.saas.Client;
import com.algolia.search.saas.Query;
It is showing cannot resolve Client and Query on the both import…

Manhar
- 107
- 1
- 11