Skip to content

Commit

Permalink
Deprecate mlt short name in favour of more_like_this
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam committed Jun 16, 2016
1 parent 62a0467 commit d4211ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public interface IQueryContainer
[JsonProperty("query_string")]
IQueryStringQuery QueryString { get; set; }

[JsonProperty("mlt")]
[JsonProperty("more_like_this")]
IMoreLikeThisQuery MoreLikeThis { get; set; }

[JsonProperty("span_first")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public MoreLikeThisUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i,

protected override object QueryJson => new
{
mlt = new
more_like_this = new
{
fields = new[] { "name" },
minimum_should_match = 1,
Expand Down

0 comments on commit d4211ae

Please sign in to comment.