-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an example with a local elasticsearch instance #104
Comments
|
So perhaps something else is going on cause I thought it was that simple too. With this code: I get the following error: I have also tried putting my ES index in "app" as well and I get the same error. ES is running locally: |
@bstaats That error is likely because of the underlying library trying to maintain a realtime subscription, something appbase.io offers but a generic ES cluster wouldn't. It shouldn't have any effect on the functioning of the app. |
Yup, I looked at the underlying library and its connecting via a Websocket which ES does not accept. So the below article is misleading then. You are not able to connect reactivesearch components to ES. 😞 🐼 https://medium.appbase.io/reactive-search-v1-ui-components-for-elasticsearch-8d3506b534b2 |
The websocket connection failure to ES host should have no material effect
on the library's request making with ES or the library's working.
Are you not able to use it?
-Siddharth
On Mon, Oct 23, 2017 at 10:03 PM Brian Staats ***@***.***> wrote:
Yup, I looked at the underlying library and its connecting via a Websocket
which ES does not accept. So the below article is misleading then. You are
not able to connect reactivesearch components to ES. 😞 🐼
https://medium.appbase.io/reactive-search-v1-ui-components-for-elasticsearch-8d3506b534b2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAmdGgguf43szwSADFQdGWmzjMJ0EzNVks5svL_lgaJpZM4P_mSg>
.
--
---
written in the spirit of three.sentenc.es
|
I don't know the specifics of your setup @bstaats, but I do have a working website with Reactive-Search pointed at a local version of ES.... |
I was able to get it to work. The missing piece was setting the correct access control for my local environment. For example:
|
super helpful @bstaats thank you! But what about the docs for how to setup your mappings? Obviously the data in your ES index and your mappings must conform to reactivesearch queries so wondering where I can read about how to setup the index & mappings. The README say you can use "Any Elasticsearch index hosted on any Elasticsearch cluster." |
* feat: add docs for empty_query * Update Rules.md Co-authored-by: Siddharth Kothari <sids.aquarius@gmail.com>
Have not been able to find an example from anywhere yet. -Thanks
The text was updated successfully, but these errors were encountered: