Searchkit is a suite of UI components built in react. The aim is to rapidly create beautiful search applications using declarative components, and without being an ElasticSearch expert.
Questions tagged [searchkit]
39 questions
6
votes
1 answer
How to add a Dynamic Range Filter for multi-value property?
The DynamicRangeFilter in Searchkit is a nice and easy solution to e.g. filter years. You would just save a year field in Elasticsearch and use the filter:
So far I didn't find…

lorenz
- 4,538
- 1
- 27
- 45
3
votes
2 answers
searchkit: RefinementListFilter can't access certain data in json
I'm usig searchkit as part of a website, but have problems in accessing my data that's been converted into json format previously.
My json directory looks like this:
(...)
hits:
0:
_index: content
_type: content
…

Julia Ktitareva
- 33
- 5
2
votes
1 answer
Issue to instantiate an object using Jekyll, react and webpack
I'm using Searchkit node module to retrieve data from elasticsearch in a Jekyll project. To do so I use webpack and react like suggest in that tutorial.
I have a issue issue to instantiate a Searchkit object.
When I build my project with webpack and…

Pierre
- 135
- 7
1
vote
1 answer
React & Searchkit Show More Button instead of default pagination
I'm working on this legacy React project which we're trying to redesign, it was using default Pagination in Searchkit to view results from Elasticsearch. Now for redesign purposes we need to replace it with a "Show More button" instead of clicking…

Abdelrhman Yousry
- 31
- 5
1
vote
0 answers
Using removeChild() to remove a broken image?
I have a loop that goes through a collection of folders and displays images. I can't figure out how to just make it display just the images that are in the folder, so the hacky way I came up with is to just have the loop iterate through the folder…

rvor
- 87
- 1
- 8
1
vote
0 answers
How to create an Elasticsearch sum aggregation query using Searchkit?
I am working on a Searchkit based project where I provided searching, filtering and sorting functionalities from an elasticsearch server. Here is a portion of the rendered react code:
…

MChaker
- 2,610
- 2
- 22
- 38
1
vote
1 answer
Is there any way of removing a defaultQuery
I've extended the searchBox component to provide amongst my own render function. I want to send a list of attributes of which the search-query should add negations on.
For example if I pass 'title', ['foo', 'bar'] as props to my searchBox component…

Timothy Lawler
- 33
- 4
1
vote
0 answers
How to make SearchKit trigger API call
I have a client requirement wherein a Remove Button has to be implemented. The Ideal way would be to pick up the ID of the Item to be removed and pass the data to the backend for updating, but how do i trigger searchkit to fetch the api and populate…

MaverickV
- 11
- 2
1
vote
3 answers
Unable to Connect to Elasticsearch using Searchkit
I am starting out using the search kit and am trying to connect to a local instance of Elasticsearch version 5.2. There is already an index, mapping and data in the Elasticsearch instance and I could query for the data using Kibana.
When the page…

Clement
- 29
- 1
- 5
1
vote
0 answers
SearchKit nested field with key, value
For a new problem, I would add a RefinmentFilter for nested fields and inside key, value pairs.
Our query should looks like this:
POST search_de/_search
{
"size": 0,
"aggs": {
"attributes": {
"nested": {
"path": "techData"
…

Dominik
- 299
- 6
- 18
1
vote
1 answer
RefinementList not working on my data
I'm currently using searchkit component for reactjs UI project. We have our own data, but RefinementList component is not working on it.

grldtcsn
- 47
- 1
- 1
- 12
1
vote
1 answer
searchkit - how to pass props into an itemComponent component
I'm fairly new to React and I would really appreciate some help on this, as its been driving me nuts.
I am trying to figure out how I can pass props into searchkit's listComponent from the component.
Parent Component:…

mcastre
- 21
- 3
0
votes
0 answers
Using Searchkit/InstantSearch to render ElasticSearch Results in React
I have a react-searchkit/instantsearch app that connects to a Flask app to send a query through text embeddings and then to ElasticSearch. The flask app then returns the JSON from ElasticSearch unedited. I am currently recieving the JSON properly…

dafliptator
- 13
- 2
0
votes
0 answers
searchkit snippet is showing only one watching word
I am using React/ElasticSearch/SearchKit/ReactMarkdown to make a search engine for a website. The search engine depends on searching for content of articles. I want to snippet or highlight all the matching words in the same article in my search…

Mostafa Mohamed
- 39
- 4
0
votes
1 answer
ElasticSearch query - Searching on 2 Fields
I'm having some trouble getting the right query for elastic search. When searching on 2 fields it's giving unexpected results.
Let's say given the documents:
[
{ name: 'Infernoble', code: 'MP21' },
{ name: 'Infernoble', code: 'AMDE' },
{ name:…

parliament
- 21,544
- 38
- 148
- 238