According to 5.x doc, the index option now accepts only true or false.
My question:
Is it set to true by default or do I have to set it as true every time I want field values to be indexed?
{
"my_index": {
"mappings": {
"blog": {
"properties": {
"title": {
"type": "text",
"index": "true"
}
}
}
}
}
}
OR
{
"my_index": {
"mappings": {
"blog": {
"properties": {
"title": {
"type": "text"
}
}
}
}
}
}
Thanks