Questions tagged [reactivesearch]

React and React Native UI components for Elasticsearch

ReactiveSearch is a , and components library for building search UIs using .

Features

  • Configurable styles
  • Works with any Elasticsearch cluster
  • Customizable queries
  • Connect any react component to Elasticsearch and other reactivesearch components

Resources

100 questions
2
votes
2 answers

Elasticsearch CORS error with ReactiveSearch

I already have a Node/Express server setup for jwt authentication working with my Create React App. I'm using the CORS npm package and simple middleware app.use(cors()); to solve the expected CORS related problems and its working fine. Now I want to…
user3125823
  • 1,846
  • 2
  • 18
  • 46
2
votes
1 answer

Escape colon in Reactive Search field name

I am testing a very basic reactive search implementation. My code is as below: import React, { Component } from 'react'; import { ReactiveBase, DataSearch, ResultCard } from '@appbaseio/reactivesearch'; import logo from './logo.svg'; …
esafwan
  • 17,311
  • 33
  • 107
  • 166
2
votes
2 answers

How can I get all results in ReactiveList

I've tried to use on all data but it doesn't work since I can get only the number of results as stated in the 'size' parameter. Here part of my code.
1
vote
0 answers

Reactive search - DataSearch and Category Search/Multilist not working together for multiple fields in an index

I am new to reactive search and new to reactjs. I am trying to do a search along with filters on elastic search using reactive search. I have search bar along with filters such as Type , Topics , Tags and two more. I want to have the count of the…
1
vote
1 answer

React Router conditional redirect

I'm building a search UI using React, React Router and the awesome Reactivesearch library. I'm trying to figure out how I can prevent users from simply navigating to mydomain.com/search, since that is my search results route. Ideally, if users tried…
user3125823
  • 1,846
  • 2
  • 18
  • 46
1
vote
0 answers

How to set ReactiveSearch loader position to top or bottom?

I'm using ReactiveSearch 3.30.0. Here's how I use the ReactiveList component in my Next.js project. } .... /> The problem is during the…
RukshanJS
  • 791
  • 1
  • 7
  • 20
1
vote
1 answer

ReactiveSearch (Web): Pagination gets reset once returning to same page

I am working on ReactiveSearch, in which I am using URLParams to maintain search selections of user through route changes. When on any page other than first, after refreshing browser, user gets on that page, but once user change the page and visit…
Hiren Faldu
  • 407
  • 2
  • 7
1
vote
2 answers

ElasticSearch Keyword usage with a prefix search

I have a requirement to be able to search a sentence as complete or with prefix. The UI library (reactive search) I am using is generating the query in this way: "simple_query_string": { "query": "\"Louis George Maurice Adolphe\"", "fields": [ …
sunny
  • 49
  • 1
  • 1
  • 3
1
vote
1 answer

How to Connect Reactivesearch to an external Elasticsearch cluster?

I am trying to connect my reacetivesearch application to external elasticsearch provider( not AWS). They dont allow making changes to the elasticsearch cluster and also using nginx in front of the cluster . As per the reacetivesearch documentation…
user121080
  • 133
  • 1
  • 10
1
vote
2 answers

React functional component using the `useState` hook does not update onChange using ReactiveSearch

I am trying to use the ReactiveSearch component library to build a basic search application, and need to use the components as controlled component (https://reactjs.org/docs/forms.html). For all of the other filters I am working with, this is no…
mtgillin
  • 71
  • 2
  • 7
1
vote
0 answers

Reactivesearch & Reactivemaps search routing

Recently I started using Reactivesearch and Reactivemaps by Appbase.io on my website to search my database of items and render them and so on. Most of the components work as they should and some have minor bugs. So recently I moved my component…
Raf
  • 61
  • 1
  • 2
  • 4
1
vote
0 answers

Reactive search Datasearch Show suggestions with default Query and/or custom query, only getting results on the first character

I have a reactive search Datasearch component that is running a default Query in order to exclude some results based on an Id. If I use the Datasearch without a default query, I am getting the suggestions just fine. But whenever I add the default…
1
vote
1 answer

Can I use ReactiveSearch components without ElasticSearch?

Is it possible to use the ReactiveSearch UI components without connecting it to an appbase elasticsearch instance? My site has an existing search API, and I would like to use ReactiveSearch's components with that.
Avishai
  • 4,512
  • 4
  • 41
  • 67
1
vote
1 answer

Hide or minimise search facet component after making a selection

We're building a Reactivesearch solution and have a requirement to hide or minimise a facet (SingleList in this case) after a selection has been made. I've already tried the below approach using a custom render function where I can inspect the if a…
Ross P
  • 158
  • 2
  • 8
1
vote
1 answer

Customize Reactive Search DateRange

How would I tackle the implementation of internationalized ReactiveSearch DateRange component? I need a custom date format ("dd.mm.yyyy") and translated Names of months.
wdev733
  • 114
  • 2
  • 12