The following is a templeate in ElasticSearch (v.2.4.5), my question is, if there is a way to promote one of these fields, for example timeStamp , as primary key to help the research during the query; like it happens on database usually.
I was just saying that the _id of the document will be the primary key. It can be whatever value you want which could also reflect a field that you have in your document.
But this is even better:
PUT index/_doc/1234
{
"foo": "bar"
}
GET index/_doc/1234
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.