For Algolia InstantSearch libraries issues and questions.
Questions tagged [instantsearch]
75 questions
0
votes
1 answer
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).get().subscribe( opportunities => {
this.items =…

Noah Omdal
- 89
- 12
0
votes
1 answer
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 => return createAlgoliaIndex(name) )
const main =…

edudepetris
- 714
- 14
- 27
0
votes
0 answers
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',
'a2cc46cbc3b02e3f93e1a914fe2528ea'),
indexName: 'test'
});
…

Noah Omdal
- 89
- 12
0
votes
1 answer
Formatting Instant Search Hits section
I’m trying to show a hit section from a Algolia Instant Search as simple as a dropdown-item from bootstrap:
one result per line as a link, without images.
But I only get this one:
How can I get the dropdown-item (above) style , One item per…

Paulo
- 100
- 1
- 12
0
votes
1 answer
Algolia InstantSearch.js' searchFunction parameter not working
Algolia's InstantSearch.js is working really great. However, its searchFunction parameter doesn't seem to be working according to their docs. Here's my search object:
const search = instantsearch({
indexName: 'decks',
searchClient,
…

at.
- 50,922
- 104
- 292
- 461
0
votes
1 answer
Angular instant search only show hits when enter is pressed or with the search icon is pressed
I only want the hits returned from Algolia to display when the user presses enter or if they hit the search icon on the input. I have got it so that only the specific hits are shown on enter using searchAsyouType = false:

Jm3s
- 556
- 2
- 12
- 24
0
votes
1 answer
Angular Instant Search - Update HTML config based on URL params
I'm currently using Angular with Angular Instant Search.
1 - Dynamically update the HTML config based on URL param change
I have a split screen application. Folders on the left. Projects on
the right.
When clicking on a folder, the folder ID in…

Que
- 957
- 2
- 14
- 35
0
votes
0 answers
Algolia error import dependency - Tutorial
I can't import algolia instantsearch for android:
compile 'com.algolia:instantsearch-android:1.+'
// This will automatically update to the latest v1 release when you build.
I have the error Gradle project sync failed.
This is the tutorial:…

user3525542
- 11
- 1
0
votes
1 answer
Should componentDidMount run from connectStateResults?
I'm trying to create an infinite siema carousel using algolia's instantsearch in react, but I don't think the connectors behave like React components. Should I expect componentDidMount to be called here? Suggestions? Ideas?
class ActorsClass…

chad steele
- 828
- 9
- 13
0
votes
1 answer
How to dynamically change search parameter in angular algolia instant search
I am using , and dynamically updating the { aroundLatLng: '23, 90' } object based on user's input, but I can not see any change in search result.
Here is an example, I…

Tahmina Khatoon
- 1,081
- 3
- 11
- 29
0
votes
1 answer
Refresh search result with angular instantSearch
I have integrated algolia with angular instantsearch according to the following documentation.
https://community.algolia.com/angular-instantsearch/getting-started.html
Everything is working fine so far except the one. For example, initially there…

Tahmina Khatoon
- 1,081
- 3
- 11
- 29
0
votes
1 answer
Algolia Instantsearch (Vuejs) - Place searchbox outside (in a different component)
I'm building a Single Page Application using, Vue, Vue-router and Vuex. I've tried to implement Algolia Instantsearch vuejs, but I'm having some issues. Since my app is using a lot of nested components, I'm having a hard time figuring out how to…

Christian Gerdes
- 279
- 1
- 2
- 16
0
votes
1 answer
Missing ":" using Algolia Instant Search
SyntaxError: missing : after property id
I'm seeing this error in my console using Algolia Instant Search on Firefox (Mac). It has been reported to me that IE11 is visually displaying the same, however, I'm not sure of the error in IE? Both Chrome…

Vaughn D. Taylor
- 617
- 1
- 8
- 20
0
votes
1 answer
Accessing Algolia InstantSearch hits before tableView cellForRow containingHit method
Is it possible to access the hits from InstantSearch query before this
HitsCollectionViewDataSource method?
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath, containing hit: [String : Any]) -> UITableViewCell
I…

Tristan Wolf
- 3
- 2
0
votes
0 answers
How to pass filtered data from algolia to collection view in swift 3?
Here I had filtered the data using facetfilters from given facets and got data in search query function and the response has been passed to model class shown below and in collection view delegate func collectionView(_ collectionView:…

Vamsi S
- 269
- 3
- 16