Not able to search on indexed fields


(Richa) #1

Hi

I am using elasticsearch 2.1.2 version and kibana 4.2.2 version.
Indexing in ES is done using
curl -XPUT http://localhost:9200/abc/tbl/_mapping -d'{
"tbl": {
"_timestamp": {
"enabled": true
},
"_all": {
"store": true
},
"properties": {
"name": {
"type": "string",
"index": "not_analyzed"
},
"num": {
"type": "long"
},
"date": {
"type": "date",
"format": "yyyy-MM-dd"
}
}
}
}'


(system) #2