Fix order of request body search parameter names in documentation (#40777)
The order was random, which made it super hard to find anything. This changes the order to be alphabetically.
This commit is contained in:
parent
040a4961c7
commit
3b9ab5da04
|
@ -188,46 +188,48 @@ to the client. This means it includes the time spent waiting in thread pools,
|
||||||
executing a distributed search across the whole cluster and gathering all the
|
executing a distributed search across the whole cluster and gathering all the
|
||||||
results.
|
results.
|
||||||
|
|
||||||
include::request/query.asciidoc[]
|
|
||||||
|
|
||||||
include::request/from-size.asciidoc[]
|
|
||||||
|
|
||||||
include::request/sort.asciidoc[]
|
|
||||||
|
|
||||||
include::request/track-total-hits.asciidoc[]
|
|
||||||
|
|
||||||
include::request/source-filtering.asciidoc[]
|
|
||||||
|
|
||||||
include::request/stored-fields.asciidoc[]
|
|
||||||
|
|
||||||
include::request/script-fields.asciidoc[]
|
|
||||||
|
|
||||||
include::request/docvalue-fields.asciidoc[]
|
include::request/docvalue-fields.asciidoc[]
|
||||||
|
|
||||||
include::request/post-filter.asciidoc[]
|
|
||||||
|
|
||||||
include::request/highlighting.asciidoc[]
|
|
||||||
|
|
||||||
include::request/rescore.asciidoc[]
|
|
||||||
|
|
||||||
include::request/search-type.asciidoc[]
|
|
||||||
|
|
||||||
include::request/scroll.asciidoc[]
|
|
||||||
|
|
||||||
include::request/preference.asciidoc[]
|
|
||||||
|
|
||||||
include::request/explain.asciidoc[]
|
include::request/explain.asciidoc[]
|
||||||
|
|
||||||
include::request/version-and-seq-no.asciidoc[]
|
include::request/collapse.asciidoc[]
|
||||||
|
|
||||||
|
include::request/from-size.asciidoc[]
|
||||||
|
|
||||||
|
include::request/highlighting.asciidoc[]
|
||||||
|
|
||||||
include::request/index-boost.asciidoc[]
|
include::request/index-boost.asciidoc[]
|
||||||
|
|
||||||
|
include::request/inner-hits.asciidoc[]
|
||||||
|
|
||||||
include::request/min-score.asciidoc[]
|
include::request/min-score.asciidoc[]
|
||||||
|
|
||||||
include::request/named-queries-and-filters.asciidoc[]
|
include::request/named-queries-and-filters.asciidoc[]
|
||||||
|
|
||||||
include::request/inner-hits.asciidoc[]
|
include::request/post-filter.asciidoc[]
|
||||||
|
|
||||||
include::request/collapse.asciidoc[]
|
include::request/preference.asciidoc[]
|
||||||
|
|
||||||
|
include::request/query.asciidoc[]
|
||||||
|
|
||||||
|
include::request/rescore.asciidoc[]
|
||||||
|
|
||||||
|
include::request/script-fields.asciidoc[]
|
||||||
|
|
||||||
|
include::request/scroll.asciidoc[]
|
||||||
|
|
||||||
include::request/search-after.asciidoc[]
|
include::request/search-after.asciidoc[]
|
||||||
|
|
||||||
|
include::request/search-type.asciidoc[]
|
||||||
|
|
||||||
|
include::request/seq-no.asciidoc[]
|
||||||
|
|
||||||
|
include::request/sort.asciidoc[]
|
||||||
|
|
||||||
|
include::request/source-filtering.asciidoc[]
|
||||||
|
|
||||||
|
include::request/stored-fields.asciidoc[]
|
||||||
|
|
||||||
|
include::request/track-total-hits.asciidoc[]
|
||||||
|
|
||||||
|
include::request/version.asciidoc[]
|
||||||
|
|
|
@ -15,20 +15,3 @@ GET /_search
|
||||||
}
|
}
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
// CONSOLE
|
// CONSOLE
|
||||||
|
|
||||||
[[search-request-version]]
|
|
||||||
=== Version
|
|
||||||
|
|
||||||
Returns a version for each search hit.
|
|
||||||
|
|
||||||
[source,js]
|
|
||||||
--------------------------------------------------
|
|
||||||
GET /_search
|
|
||||||
{
|
|
||||||
"version": true,
|
|
||||||
"query" : {
|
|
||||||
"term" : { "user" : "kimchy" }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
--------------------------------------------------
|
|
||||||
// CONSOLE
|
|
|
@ -1,5 +1,5 @@
|
||||||
[[search-request-stored-fields]]
|
[[search-request-stored-fields]]
|
||||||
=== Fields
|
=== Stored Fields
|
||||||
|
|
||||||
WARNING: The `stored_fields` parameter is about fields that are explicitly marked as
|
WARNING: The `stored_fields` parameter is about fields that are explicitly marked as
|
||||||
stored in the mapping, which is off by default and generally not recommended.
|
stored in the mapping, which is off by default and generally not recommended.
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
[[search-request-version]]
|
||||||
|
=== Version
|
||||||
|
|
||||||
|
Returns a version for each search hit.
|
||||||
|
|
||||||
|
[source,js]
|
||||||
|
--------------------------------------------------
|
||||||
|
GET /_search
|
||||||
|
{
|
||||||
|
"version": true,
|
||||||
|
"query" : {
|
||||||
|
"term" : { "user" : "kimchy" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
--------------------------------------------------
|
||||||
|
// CONSOLE
|
Loading…
Reference in New Issue