opensearch-project / opensearch-js

Node.js Client for OpenSearch
https://opensearch.org/docs/latest/clients/javascript/
Apache License 2.0
186 stars 121 forks source link

Can somebody help, using openSearch directly from client like ReactJS, NextJS is good idea or it should communicate with backend only #736

Closed bharat5604 closed 6 months ago

wbeckler commented 6 months ago

Can you please edit your issue to include more context on your goals and options you've considered?

bharat5604 commented 6 months ago

Hi @wbeckler , my question is what is the OpenSearch best practices: use directly from the frontend or from the backend

wbeckler commented 6 months ago

Because you need to authenticate requests and directly manage the format and frequency of requests, it's rare that someone connects browser to database. The opensearch-dashboards application has the typical architecture: database <-> node server <-> browser

dblock commented 6 months ago

I'll close this isssue, @bharat5604 a good place to ask general questions is https://opensearch.org/slack.html.