Can we search documents on the basis of version in elasticsearch?


(Abhishek Jajoria) #1

I have list of documents in the index and I want to search documents on
the basis of version is it possible in elasticsearch.


(Shay Banon) #2

You mean the _version field of elasticsearch? No, you can't search based on
that, if its an external value that you provide, you can also index it as
part of your json document.

On Fri, May 4, 2012 at 1:24 PM, jajoria abhishek <jajoria.abhishek@gmail.com

wrote:

I have list of documents in the index and I want to search documents on
the basis of version is it possible in elasticsearch.


(system) #3