The elasticsearch (1.7) index I am dealing with has a property "title" which has many custom field mappings each having an analyser. How to fetch the data stored in these individual fields?
title.std
title.stp
Here's the mappings data.
"mappings": {
"myindex": {
"_all": {
"enabled": false
},
"properties": {
"title": {
"type": "string",
"analyzer": "standard",
"fields": {
"std": {
"type": "string",
"analyzer": "standard"
},
"stp": {
"type": "string",
"analyzer": "stop"
}
}
}
}