Remove mention of reverse in docs and add to migration doc
This commit is contained in:
parent
9e1059be2b
commit
801d178ade
|
@ -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
|
The `dfs` parameter to the term vectors API has been removed completely. Term
|
||||||
vectors don't support distributed document frequencies anymore.
|
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.
|
||||||
|
|
|
@ -346,7 +346,7 @@ When sorting on a field, scores are not computed. By setting
|
||||||
{
|
{
|
||||||
"track_scores": true,
|
"track_scores": true,
|
||||||
"sort" : [
|
"sort" : [
|
||||||
{ "post_date" : {"reverse" : true} },
|
{ "post_date" : {"order" : "desc"} },
|
||||||
{ "name" : "desc" },
|
{ "name" : "desc" },
|
||||||
{ "age" : "desc" }
|
{ "age" : "desc" }
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue