原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/mapping-ignored-field.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/mapping-ignored-field.html
本地英文版地址: ../en/mapping-ignored-field.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
_ignored fieldedit
Added in 6.4.0.
The _ignored field indexes and stores the names of every field in a document
that has been ignored because it was malformed and
ignore_malformed was turned on.
This field is searchable with term,
terms and exists
queries, and is returned as part of the search hits.
For instance the below query matches all documents that have one or more fields that got ignored:
GET _search
{
"query": {
"exists": {
"field": "_ignored"
}
}
}
Similarly, the below query finds all documents whose @timestamp field was
ignored at index time:
GET _search
{
"query": {
"term": {
"_ignored": "@timestamp"
}
}
}