reactivesearch

Examples of using ReactiveSearch with ecommerce sub categories

和自甴很熟 提交于 2020-07-10 08:11:10
问题 I'm really impressed with ReactiveSearch so far but I can't see any examples of using it with sub categories. This example looks great for filters and categories where there are no sub categories: https://opensource.appbase.io/reactivesearch/demos/producthunt/ Is there a way to drill down to sub categories when a category is clicked? Thanks, Phil 回答1: we don't support this out of the box currently. A previous version used to have a component for doing this, we called it NestedList /

Reactivesearch proxylike backend with cookie authentication

落爺英雄遲暮 提交于 2019-12-23 01:35:17
问题 I have a spring backend which i'm accessing my Elastic search cluster through by a proxylike endpoint. The request has to be authorized with a cookie. I'm currently using searchkit with supports authenticating requests through the withCredentials flag. Is there a similar option for reactivesearch or is there any other solution for authorizing the request with a cookie? I could add: the backend exposes a swagger client which runs on a different domain than my frontend client. This client "owns

How to display detail page from search results in ResultCard?

狂风中的少年 提交于 2019-12-11 15:53:47
问题 Preconditions: React application using appbaseio/reactivesearch Problem: I am trying to open a simple detail page in the same window (e.g. as a popup window triggered via onclick handler) when I click on a search result. Search results are being displayed by the ResultCard component. Anybody had a similar issue and solved it? I see there is the url parameter (here: "profile") in the ResultCard component, but it just redirects to the specified url in another tab window. import {ReactiveBase,

Using ReactiveSearch with plain elasticsearch

你说的曾经没有我的故事 提交于 2019-12-09 06:58:20
问题 I'd like to use reactivesearch with my own plain vanilla elasticsearch cluster. While the example and documentation describe that this should be possible: ReactiveBase, see the url Param. I get connection errors and a Websocket call wss://.. which looks like ReactiveBase is trying to connect to a appbase.io hosted elastic instead. It also passes a credentials code along with the call to elastic which is not specified in my code. Is it possible to connect to a normal elastic and where can I

Reactivesearch - search from any route

99封情书 提交于 2019-12-08 08:35:07
问题 I'm experimenting with ReactiveSearch and using the ReactiveList component. I'm trying to figure out how I can navigate though my React app and still be able to search. Say I'm on the home route '/' , use DataSearch component for autocomplete and that takes me to the results page '/results but I don't get any results!! In order to get results, I have to search and stay on the '/results' page. Is there a prop that I'm missing on my DataSearch component in the Header: <DataSearch componentId=

How to filter _source in reactivesearch?

喜夏-厌秋 提交于 2019-12-08 06:45:49
问题 I need to exclude certain fields from the _source field in the elastic response since those fields are huge and transferring them unnecessarily wastes lots of time. In general, in elastic this is done by providing _source parameter in the query, e.g.: GET /_search { "_source": { "excludes": [ "content" ] }, "query" : { ... } } Searchkit, for example, does this exclusion for highlighted fields automatically (which would be ideal in my case), but also supports an option for user to provide

How to filter _source in reactivesearch?

删除回忆录丶 提交于 2019-12-07 07:16:26
I need to exclude certain fields from the _source field in the elastic response since those fields are huge and transferring them unnecessarily wastes lots of time. In general, in elastic this is done by providing _source parameter in the query, e.g.: GET /_search { "_source": { "excludes": [ "content" ] }, "query" : { ... } } Searchkit, for example, does this exclusion for highlighted fields automatically (which would be ideal in my case), but also supports an option for user to provide _source filter irrespective of highlighting too. Reactivesearch DataSearch component seems to be missing

Reactivesearch proxylike backend with cookie authentication

一笑奈何 提交于 2019-12-06 16:10:40
I have a spring backend which i'm accessing my Elastic search cluster through by a proxylike endpoint. The request has to be authorized with a cookie. I'm currently using searchkit with supports authenticating requests through the withCredentials flag. Is there a similar option for reactivesearch or is there any other solution for authorizing the request with a cookie? I could add: the backend exposes a swagger client which runs on a different domain than my frontend client. This client "owns" the cookie and thus i cannot read the cookie from my frontend client Okey so it turns out,

Reactivesearch - search from any route

泄露秘密 提交于 2019-12-06 16:08:34
I'm experimenting with ReactiveSearch and using the ReactiveList component. I'm trying to figure out how I can navigate though my React app and still be able to search. Say I'm on the home route '/' , use DataSearch component for autocomplete and that takes me to the results page '/results but I don't get any results!! In order to get results, I have to search and stay on the '/results' page. Is there a prop that I'm missing on my DataSearch component in the Header: <DataSearch componentId="SearchSensor" dataField={["original_title"]} className="search-bar" showIcon={true} iconPosition="right"

Using ReactiveSearch with plain elasticsearch

冷暖自知 提交于 2019-12-03 08:47:07
I'd like to use reactivesearch with my own plain vanilla elasticsearch cluster. While the example and documentation describe that this should be possible: ReactiveBase , see the url Param. I get connection errors and a Websocket call wss://.. which looks like ReactiveBase is trying to connect to a appbase.io hosted elastic instead. It also passes a credentials code along with the call to elastic which is not specified in my code. Is it possible to connect to a normal elastic and where can I find the documentation on how to do this? This is my definition of ReactiveBase : <ReactiveBase app=