Skip to content

Connecting ReactiveBase to local ElasticSearch DB #2019

Answered by siddharthlatest
kklhuang asked this question in Q&A
Discussion options

You must be logged in to vote

@kklhuang There are two options over here:

  1. Set enableAppbase to false and your config should work as is. That's it!

OR

  1. With enableAppbase (we should name this better), the query generation will happen on the server-side. It requires use of reactivesearch-api binary, which acts as a gateway to Elasticsearch plus also handles server-side query generation. I highly recommend this for production usage so you're not exposing DSL on the frontend.

So, you need to setup the reactivesearch-api binary. The easiest way to do this is via Docker. You can choose the docker compose file to use from here (comes in various combinations), or in the rare case where you're wanting to contribute to the pr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kklhuang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants