Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

how to search and retrieve data based on of indexed data in elasticsearch


 

0down votefavorite

i had indexed the data and elasticsearch allocate it a version. Now I had updated the indexes byupdate API a new version will be allocate to it. Now I want to search data based on version. For eg: my original indexed data is (version=1) :

  {
     "name":"Lav"
  }

after execution of update query (version=2) :

  {
     "name":"Lav",
     "message":"hello elasticsearch"
  }

Now I want to perform search operation first in version 1 and then in version 2 . How it can be done


asked Apr 15, 2015 in Elasticsearch-php by rajesh
0 votes
26 views



Related Hot Questions



Government Jobs Opening


...