Skip to content

Commit

Permalink
bulk uses _routing while valid this produces deprecation warnings as …
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Dec 28, 2017
1 parent 7053097 commit 8944ee5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Nest/Document/Multiple/Bulk/BulkOperation/IBulkOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ public interface IBulkOperation
[JsonProperty("_id")]
Id Id { get; set; }

[JsonProperty("_version")]
[JsonProperty("version")]
long? Version { get; set; }

[JsonProperty("_version_type")]
[JsonProperty("version_type")]
[JsonConverter(typeof(StringEnumConverter))]
VersionType? VersionType { get; set; }

[JsonProperty("_routing")]
[JsonProperty("routing")]
string Routing { get; set; }

[JsonProperty("_parent")]
[JsonProperty("parent")]
Id Parent { get; set; }

[JsonProperty("_timestamp")]
Expand All @@ -41,7 +41,7 @@ public interface IBulkOperation
[Obsolete("This feature is no longer supported on indices created in Elasticsearch 5.0.0 and up")]
Time Ttl { get; set; }

[JsonProperty("_retry_on_conflict")]
[JsonProperty("retry_on_conflict")]
int? RetriesOnConflict { get; set; }

object GetBody();
Expand Down

0 comments on commit 8944ee5

Please sign in to comment.