_source && _all
_source
PUT /my_index/_mapping/my_type2
{
"_source": {"enabled": false}
}PUT /test_index3
{
"mappings": {
"my_type6": {
"_source": {
"enabled": false
},
"properties": {
"author_id": {
"type": "long"
},
"title": {
"type": "text",
"analyzer": "english"
},
"content": {
"type": "text"
},
"post_date": {
"type": "date"
},
"publisher_id": {
"type": "text",
"index": "not_analyzed"
}
}
}
}
}_all
Last updated