vue-innersearch icon indicating copy to clipboard operation
vue-innersearch copied to clipboard

Connect to API endpoints instead of directly to Elasticsearch

Open tecfu opened this issue 6 years ago • 1 comments

I'm not sure if I'm missing something, but it seems vue-innersearch can only be used if an Elasticsearch server is available to the public. Suffice it to say that there are obvious, prohibitive drawbacks to doing this in production:

Note: Is it safe to expose the Elasticsearch Search API directly through your application's API? https://stackoverflow.com/questions/39103547/is-it-safe-to-expose-the-elasticsearch-search-api-directly-through-your-applicat

Can InnerSearch can be configured otherwise? If so where can we find an example?

tecfu avatar Aug 30 '18 18:08 tecfu

vue-innersearch can only be used with the ElasticSearch API. If you want to secure your ElasticSearch API there are few options :

  • to use a nginx server as a proxy server for example ( using Authoriation headers )
  • use X-Pack security activities for Elastic ( check doc )

TrimA74 avatar Sep 13 '18 08:09 TrimA74