You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While indexing documents into Elasticsearch, I can pass an external version with the document being indexed. The reason I want to do this is because I can get various versions of the same document in a span of few seconds or even quicker than that and there is no way I can control the order in which these versions get indexed.
To make sure the index always reflects latest state of the document, I thought I could use the last modified datetime stamp in the document, convert it to a sortable datetime integer (e.g. dateTime.ToString("yyyyMMddHHmmssFFF") gives me 20140427101814673) and pass it on to Elasticsearch as an external version when indexing a document.
Elasticsearch provides a very clean versioning capability that fits nicely into my requirement - the problem however is that Elasticsearch.NET limits this functionality by exposing version as an integer based type which cannot take the large numbers I am trying to pass.
The text was updated successfully, but these errors were encountered:
While indexing documents into Elasticsearch, I can pass an external version with the document being indexed. The reason I want to do this is because I can get various versions of the same document in a span of few seconds or even quicker than that and there is no way I can control the order in which these versions get indexed.
To make sure the index always reflects latest state of the document, I thought I could use the last modified datetime stamp in the document, convert it to a sortable datetime integer (e.g. dateTime.ToString("yyyyMMddHHmmssFFF") gives me 20140427101814673) and pass it on to Elasticsearch as an external version when indexing a document.
Elasticsearch provides a very clean versioning capability that fits nicely into my requirement - the problem however is that Elasticsearch.NET limits this functionality by exposing version as an integer based type which cannot take the large numbers I am trying to pass.
The text was updated successfully, but these errors were encountered: