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
1
vote
3 answers

ReactiveSearch how to stop initial query on load

So I've got ReactiveSearch working fine but I've noticed on the initial load it performs a query to fetch items - given my index will have perhaps a million items in it I'd ideally like to turn this off and only return results from the autosuggest? …
Mrk Fldig
  • 4,244
  • 5
  • 33
  • 64
1
vote
1 answer

How to use DataSearch as controlled component from Reactivesearch?

I'm new to ReactiveSearch library, and I implemented the DataSearch component with autosuggestion as my in-site SearchBar. I added value and onChange to in order to store the input value as a state, but as soon as I added the value prop, I can't…
Chloe Sun
  • 111
  • 1
  • 6
1
vote
1 answer

Reactivesearch - query params from header not updating results page

I've got a CategorySearch box in my header that passes the selected value to a search results page via query params. It works great the first time. But I want the header (w/ search box) to remain on the results page and allow users to change the…
1
vote
0 answers

The best place to put ReactiveBase or how many can you have

I'm using ReactiveSearch to build out a Search UI. After trying lots of things... I'm trying to determine how to build my ReactiveSearch UI with the desired behavior. Basically I'm trying to get the same behavior that both Google and Bing employ (or…
user3125823
  • 1,846
  • 2
  • 18
  • 46
1
vote
1 answer

userQuery is undefined in

I'm just about done building my search UI with ReactiveSearch and just need to figure out how to display the results on '/results' with React Router 4 and npm package query-string. I made a codesandbox here My question is why is the userQuery…
user3125823
  • 1,846
  • 2
  • 18
  • 46
1
vote
1 answer

Override or remove inline styles in Reactivesearch v2

I'm using ReactiveList to render results. What whould be the best way to override default inline-styles? Optimally remove all default styles provided by Reactivesearch (2.13.0). E.g. How to remove these default styles provided by sortOptions in…
KalleVu
  • 23
  • 5
1
vote
0 answers

ReactiveSearch's ReactiveList does not update on ES changes

I have an Elasticsearch cluster into which realtime events pour in. What I thought I'd be able to achieve is to show the events as they come in inside a ReactiveList in ReactiveSearch. This is what I roughly have: class App extends Component { …
Max Power
  • 952
  • 9
  • 24
1
vote
1 answer

AppBase / Reactive search : strategy to filter from an array of ids

I'm using the reactive search on a react web app and I'm trying to find a way to be able to switch from "all items" to "favorite items" for which I have an array of ids. I've tried three different strategies, but none appears satisfying: I've set…
1
vote
1 answer

JSON.parse( localStorage.getItem('priceSlider')).start , Unexpected end of JSON input

I am using Localstorage.getItem tocreate a RangeSlider with dynamic defaultSelected Values. I am using the rangeSlider inside a react-modal so I need when the user open the model and use the range slider to create a filter, the state is saved in…
1
vote
1 answer

Submitting a search query with ReactiveSearch

I've been building a search UI with ReactiveSearch. I'm trying to figure out how to submit the actual search query. I've been using the DataSearch component because it comes with autocomplete baked in (just set it to true!). The autocomplete works…
user3125823
  • 1,846
  • 2
  • 18
  • 46
1
vote
1 answer

DataSearch and RR Redirect

I'm using ReactiveSearch search components to build a nice UI for my search app. I'm using the prop onQueryChange to invoke a function that uses to route to the search results page after user has submitted a search query. How can I use React Router…
user3125823
  • 1,846
  • 2
  • 18
  • 46
1
vote
1 answer

ReactiveSearch - trying to query an exact value from the mapping

I've followed the tutorials on ReactiveSearch, and I'm using it with React and a hosted Elastic instance on Appbase.io. I currently have a search box with auto complete as shown in the CodeSandbox below. I'm trying to make it so the onValueSelected…
1
vote
1 answer

ReactiveSearch - Can't Force a Selection (e.g. strictSelection) from the autoComplete?

I've followed the tutorials on ReactiveSearch, and I'm using it with React and a hosted Elastic instance on Appbase.io. I want the user to see auto suggestions, but then only be able to select from the list of suggestions (so if "foo" isn't in the…
1
vote
1 answer

Indexing user query with Appbaseio and ReactiveSearch

I'm attempting to index a user's query using ReactiveSearch's DataSearch component and appbase-js. So I've made my Node/Express app for appbase-js interaction with appbaseio. in app.js: ... const search =…
user3125823
  • 1,846
  • 2
  • 18
  • 46
1
vote
1 answer

ReactiveSearch, DataSearch and indexing user query

I'm using the DataSearch from Reactivesearch for an autocomplete feature and I'm trying to figure out how I can take the user's selected query and add that to my autocomplete index hosted at Appbaseio? When I say user's selected query, I mean a…
user3125823
  • 1,846
  • 2
  • 18
  • 46