Remove mention of reverse in docs and add to migration doc

This commit is contained in:
Isabel Drost-Fromm 2016-03-24 12:04:31 +01:00
parent 9e1059be2b
commit 801d178ade
2 changed files with 6 additions and 1 deletions

View File

@ -141,3 +141,8 @@ The term vectors APIs no longer persist unmapped fields in the mappings.
The `dfs` parameter to the term vectors API has been removed completely. Term
vectors don't support distributed document frequencies anymore.
==== Sort
The `reverse` parameter has been removed, in favour of explicitly
specifying the sort order with the `order` option.

View File

@ -346,7 +346,7 @@ When sorting on a field, scores are not computed. By setting
{
"track_scores": true,
"sort" : [
{ "post_date" : {"reverse" : true} },
{ "post_date" : {"order" : "desc"} },
{ "name" : "desc" },
{ "age" : "desc" }
],