vue-innersearch
vue-innersearch copied to clipboard
Connect to API endpoints instead of directly to Elasticsearch
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?
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 )