Stored field in elastic search

前端 未结 1 1392
盖世英雄少女心
盖世英雄少女心 2020-12-18 08:23

In the documentation, some types, such as numbers and dates, it specifies that store defaults to no. But that the field can still be retrieved from the json.

Its

相关标签:
1条回答
  • None of the field types are stored by default. Only the _source field is. That means you can always get back what you sent to the search engine. Even if you ask for specific fields, elasticsearch is going to parse the _source field for you and give you back those fields.

    You can disable the _source if you want but then you could only retrieve the fields that you explicitly stored, according to your mapping.

    0 讨论(0)
提交回复
热议问题