Versions

I know that each index operation with same id on the same index is
generates a new version, is there any
way to retrieve all version in the search operation ?

Best Regards.

way to retrieve all version in the search operation ?

what do you mean? There is only one version associated with a
document. The version field isn't used for 'versioning' purposes ala
subversion/git it is used for optimistic locking.

Peter.

On 10 Dez., 18:32, slavag slav...@gmail.com wrote:

I know that each index operation with same id on the same index is
generates a new version, is there any
way to retrieve all version in the search operation ?

Best Regards.

Thanks , got it.
I just thought that may be there previous versions of the document are
stored as well.

HBase does that type of versioning - you can set the # of versions to keep
per table and then sync that data with ES.

On Sat, Dec 10, 2011 at 1:09 PM, slavag slavago@gmail.com wrote:

Thanks , got it.
I just thought that may be there previous versions of the document are
stored as well.

Yes, I know that functionality in HBase, but I wanted to update document
index and then during search to get all versions of the document from the
ES.
Actually I'm not storing data in ES, the one this that is stored it
reference to the document in some storage. But when document is updated
then storage has a new version of the document and old as well and then i
have two references to the storage and wanted to get all of the from the ES.