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) :


after execution of update query (version=2) :

     "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

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.