如何在 Elasticsearch 中存储数据?

How to store data in Elastic search?

我正在 store在 Vue + magento setup

服务器中的愿望清单项目

如何在elasticsearch中存储数据?

如果您没有从设置中禁用任何默认设置,当未存储字段(默认)并且启用 _source 字段(也是默认)时,elasticsearch 会为您执行。

By default, Elasticsearch keeps a copy of all the JSON documents you offer it for indexing in a field called _source . You get a copy of this stored data on each query that matches the document. So yes: you are able to store your data in Elasticsearch and retrieve it too.

ElasticSearch 的工作原理:https://medium.com/tech-explained/can-elasticsearch-store-data-4b840308ea6f