Questions tagged [instantsearch]
For Algolia InstantSearch libraries issues and questions.
72
questions
1
vote
1
answer
68
views
ALGOLIA - Numeric Filters with OR conditio
I have around 2557378 records in ALGOLIA. i am trying to apply few conditions with numericFilters
I need to fetch all a values b values and c values
I used Filter condition as below:
{
"...
0
votes
1
answer
58
views
Algolia InstantSearch Hook - search for an array of objectIDs
we're using Algolia's InstantSearch React hook
I figured I could do something like the following
<InstantSearch
indexName={indexName}
searchClient={algoliaClient}
searchState={{
...
3
votes
0
answers
239
views
this.props.contextValue.store.getState is not a function when adding a custom input
I'm running into an issue with adding my own custon input after following the documentation for Autocomplete.
The error I get is "this.props.contextValue.store.getState is not a function" ...
0
votes
1
answer
172
views
Adding attributes to search hits after query and dynamically re-render in InstantSearch.js
I am setting up InstantSearch icw Algolia for products of a webshop with the plain JavaScript implementation.
I am able to follow all the documentation, but I am running into the problem that we have ...
0
votes
0
answers
125
views
"indexName is not valid" error in Algolia after Searchable attributes update
I have implemented Algolia Instant Search in a Vue3 app via the Firebase/Algolia extension.
Everything was working fine, I could do searches from my frontend and get the expected results.
Then I ...
0
votes
1
answer
64
views
Instant search , facetFilter does not work with tilder.(~)
I'm trying to implement a typesense search with instantsearch, and trying to use facetFilters, and it works very well, the problem is that the name of some items that were sent to typesense are with &...
0
votes
1
answer
154
views
Angular - algolia instantSearch : Cannot read properties of undefined (reading 'range')
i am trying to connect the basic rangeConnector - copy paste from the docs
https://www.algolia.com/doc/api-reference/widgets/range-input/angular/
but i got :
Cannot read properties of undefined (...
0
votes
1
answer
41
views
Instantsearch not working with React - Data not displaying
I have my instantsearch which is working perfectly fine when i run it as is as shown below
However, when I tried to integrate it wit router dom, it seems something on the router dom is causing my ...
0
votes
0
answers
211
views
How to catch event: re-initialise search in Algolia Instantsearch?
I am using Algolia and the Instantsearch library in a Vue project, to search for items. The user has the option to check each item (with a simple checkbox). Checking at least one item makes a toolbar ...
0
votes
1
answer
224
views
How to implement Algolia date wise refinement?
How to implement Algolia date refinement as shown below in the image?
All records have an arrival date. based on that, If user clicked last 7 days, I want to filter the products that have created ...
0
votes
1
answer
179
views
Algolia Instant search default order by state (`live`, 'published', 'draft')
I'm trying to fetch Algolia results in particular order, hits have state column, and state values can be live/published/draft
Data in algolia
{ name: Post1, state: draft},
{ name: Post2, state: ...
0
votes
1
answer
352
views
Algolia Angular InstantSearch buggy search-box
I have my Algolia configuration set up correctly, and the ais-hits is correctly displaying the results of my query, but occasionally the text input will act very buggy.
Here is a recording of me ...
2
votes
1
answer
356
views
Warning: Entry point 'angular-instantsearch' contains deep imports into '/node_modules/instantsearch.js/es/connectors
After installing these two package in my Angular application 13.0.3. I am receiving this below warning.
"angular-instantsearch": "^4.1.0",
⠙ Generating server application ...
1
vote
1
answer
357
views
How to use to Algolia connectors together?
I am working on a project where I'm supposed to implement autocomplete functionality in a search box. I'm using React-InstantSearch and my SearchBox component is built up using an Algolia connector ...
1
vote
1
answer
234
views
Algolia vue-instantsearch : disjunction between two distincts facets
Using algolia vue-instantsearch, i’m encountering a special case and i’m having an hard time finding a solution.
Refinement behaviors is that you get the results that matches all your refinement ...
0
votes
1
answer
24k
views
Algolia backend search or frontend search when an user ID is involved
I have my records stored in the Algolia index having a userID attribute associated with each. I want to perform a search such that the records visible to the user will be filtered such that the ...
1
vote
0
answers
298
views
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 ...
1
vote
1
answer
129
views
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 ...
1
vote
1
answer
211
views
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 ...
0
votes
1
answer
114
views
Algolia instant search react api keys and api id
I'm trying to use Algolia react instant search in my react app and the documentation said that I need an API key and app id, how can I get those properties from my backend.
1
vote
0
answers
260
views
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, ...
0
votes
2
answers
877
views
algolia instantsearch only show result that matches particular query (react)
I'm using react instant search to show list of users in select options. I managed to show all the users in select option but I want to only show users with admin role (role === 'admin').
Ofcourse I ...
0
votes
1
answer
513
views
Flutter Firebase instant SearchBar [duplicate]
How can I do instant search in Flutter Firebase?
For example I have Brands list in my Firebase Documents like this;
and I want to do Search instantly in list for example when I text "F" I ...
5
votes
1
answer
326
views
InstantSearch can't remove blue cross which resets query
I'm using InstantSearch from algolia to create a input field, but I'm having trouble debugging where this cross comes from. It appears when the input field gets focused or hovered, the blue cross ...
2
votes
0
answers
313
views
Algolia Autocomplete and display in result page on enter key or submit
I am looking for a solution with Algolia in React. I have a search bar where I am using autocomplete feature to load the result of products . Now when i click on submit button or Enter key i want to ...
3
votes
0
answers
132
views
Algolia InstantSearch iOS not updating data with each keystroke
I am using Algolia InstantSearch and the HitsTableViewController is displaying the list of data properly, however the results are not changing with each keystroke. Does anyone know how to make the ...
0
votes
1
answer
195
views
Algolia + React Native InstantSearch (SortBy)
I need to sort Algolia results by always putting featured at the top of results around a location (no UI for this, just always does it). Is there a way to do this like an empty <...
1
vote
1
answer
818
views
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 "...
0
votes
1
answer
267
views
Price (Numeric value) is not setting in facet Meilisearch
I have rangeInput field, which has Min and Max input, where user can add price to search, I have below code for price search.
customRangeInput({
container: document.querySelector('#range-input'),
...
1
vote
0
answers
248
views
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 ...
0
votes
0
answers
532
views
InstantSearch.js custom widget increase returned results
As you can see in the code bellow, I made 2 custom widgets, one for searching one for displaying results, but I cannot increase the limit of the returned results. When the page loads, it automatically ...
0
votes
1
answer
360
views
Unable to run Algolia Docsearch in my docusaurus v2 website
I have received my algolia apiKey and the indexName, I have correctly added them under themeConfig in my docusauras.config.js file
algolia: {
apiKey: 'API_KEY',
indexName: 'INDEX_NAME',
...
0
votes
1
answer
200
views
algolia filter works in console but is not working in actual search results
So my goal is to be able to filter out the Algolia hits not only in the console, but in the actual displayed results as well. So I've been stuck with this issue for a month or so now. I am using the ...
1
vote
0
answers
82
views
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....
1
vote
2
answers
736
views
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
<Configure hitsPerPage={100} />
<Grid >
...
1
vote
0
answers
79
views
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 ...
0
votes
1
answer
464
views
algolia instant search display few itmes and use pagination
I am currently working with algolia and I am trying to show the data on my app, there are over 37 products in my DB and I would like to display them in my app. I want to display 15 items on a single ...
1
vote
1
answer
2k
views
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 ...
0
votes
1
answer
371
views
How to separate searchable attributes to separate search boxes in Algolia?
If I have "title" and "category" as searchable attributes in the Algolia admin, is there any way that I can have one <SearchBox /> searching only on "title" and ...
3
votes
0
answers
230
views
How to set a default filter option in Algolia Instant Search
I want to display only certain records from Algolia.For that I need to filter the list with some Ids (which I will get from some other api).The records has to displayed on page load .Is there any ...
0
votes
1
answer
70
views
Is there a transformItems equivalent in the Android Java Libraries for Algolia?
I have a use case where i would like to render the image associated with the hits returned from an Algolia search using the Algolia Java library for Android. I am currently developing on Pie . Here is ...
1
vote
1
answer
1k
views
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 ...
1
vote
1
answer
1k
views
How to work with KotlinX serialization for ArrayList<String> and Date types with Algolia
I am trying to use the kotlinx serialization with Algolia for types ArrayList<String> and Date but I cannot figure out the serialization technique. Any pointers because I have resorted to the ...
1
vote
0
answers
66
views
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 ...
1
vote
2
answers
636
views
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":...
0
votes
1
answer
721
views
How to configure the Algolia InstantSearch class if you have 2 different search bars for 2 distinct indexes?
I'm using InstantSearch from Algolia and it's basically a Singleton that you configure and bind to a search bar (a widget).
The problem is that in their demo, the InstantSearch class is a Singleton ...
0
votes
1
answer
65
views
Wait to load html until a referenced js value loads from an async process?
I am loading the value of a field of a document in my Firestore database via the following process:
let currentUser = firebase.auth().currentUser;
this.afs.collection("people").doc(currentUser.uid)....
0
votes
1
answer
251
views
change searchFunction dynamically
context: I'm trying to implement multiples indexes binding to just one searchbox
I have an array of indexes and I want to edit the searchFunction of first one.
const indexes = indexNames.map( name =&...
3
votes
2
answers
851
views
Failed to import algoliasearch to my lib folder
I want to import algolia python lib to my python 3 app engine project.
So I did
pip install algoliasearch -t lib
And in my lib folder I created __init__.py
Then In my project I import using
from ...
0
votes
0
answers
1k
views
Why am I getting "Container must be `string` or `HTMLElement`" even though my container IS a string?
In my ionic app, I'm trying to implement Algolia. I have this code:
search: any;
ngOnInit() {
this.search = instantsearch({
searchClient: algoliasearch(
'5SRF6DY7XY',
'...