Doubt on using versioning?

Hi

I have read blog on Versioning http://www.elasticsearch.org/blog/2011/02/08/versioning.html

I have some question :

1.if 100 document will be index with _version 1,again tried to index
same document with same _version value 1,then ES will create index
with incremented version value or it will be same.

  1. As I have understood that versioning is on the indexType level,
    Thus if I update any document then will the version of all the
    document in that particular type will be changed or only that
    documents version will change.

Thanks

On Mon, Mar 26, 2012 at 10:03 AM, sam mishra.sameek@gmail.com wrote:

Hi

I have read blog on Versioning
Elasticsearch Platform — Find real-time answers at scale | Elastic

I have some question :

1.if 100 document will be index with _version 1,again tried to index
same document with same _version value 1,then ES will create index
with incremented version value or it will be same.

yes, the version will be incremented.

  1. As I have understood that versioning is on the indexType level,
    Thus if I update any document then will the version of all the
    document in that particular type will be changed or only that
    documents version will change.

Only the specific document version will eb incremented.

Thanks