[DOCS] Fix search request body links (#50500)
PR #44238 changed several links related to the Elasticsearch search request body API. This updates several places still using outdated links or anchors. This will ultimately let us remove some redirects related to those link changes.
This commit is contained in:
parent
e7c15a5c6e
commit
3f7f31b6b0
|
@ -112,7 +112,7 @@ You can use this parameter to query multiple indices that may not contain the
|
||||||
[[has-parent-query-performance]]
|
[[has-parent-query-performance]]
|
||||||
===== Sorting
|
===== Sorting
|
||||||
You cannot sort the results of a `has_parent` query using standard
|
You cannot sort the results of a `has_parent` query using standard
|
||||||
<<search-request-sort,sort options>>.
|
<<request-body-search-sort,sort options>>.
|
||||||
|
|
||||||
If you need to sort returned documents by a field in their parent documents, use
|
If you need to sort returned documents by a field in their parent documents, use
|
||||||
a `function_score` query and sort by `_score`. For example, the following query
|
a `function_score` query and sort by `_score`. For example, the following query
|
||||||
|
|
|
@ -58,7 +58,7 @@ include::{docdir}/rest-api/common-parms.asciidoc[tag=index]
|
||||||
`ccs_minimize_roundtrips`::
|
`ccs_minimize_roundtrips`::
|
||||||
(Optional, boolean) If `true`, the network round-trips between the
|
(Optional, boolean) If `true`, the network round-trips between the
|
||||||
coordinating node and the remote clusters ewill be minimized when executing
|
coordinating node and the remote clusters ewill be minimized when executing
|
||||||
{ccs} requests. See <<ccs-reduction>> for more. Defaults to `true`.
|
{ccs} requests. See <<ccs-network-delays>>. Defaults to `true`.
|
||||||
|
|
||||||
include::{docdir}/rest-api/common-parms.asciidoc[tag=from]
|
include::{docdir}/rest-api/common-parms.asciidoc[tag=from]
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@ accurately.
|
||||||
|======
|
|======
|
||||||
| Name |Required | Default | Description
|
| Name |Required | Default | Description
|
||||||
|
|
||||||
| `request.search_type` | no | `query_then_fetch` | The <<search-request-search-type,type>>
|
| `request.search_type` | no | `query_then_fetch` | The <<request-body-search-search-type,type>>
|
||||||
of search request to perform. Valid values are: `dfs_query_and_fetch`,
|
of search request to perform. Valid values are: `dfs_query_and_fetch`,
|
||||||
`dfs_query_then_fetch`, `query_and_fetch`, and `query_then_fetch`. The
|
`dfs_query_then_fetch`, `query_and_fetch`, and `query_then_fetch`. The
|
||||||
Elasticsearch default is `query_then_fetch`.
|
Elasticsearch default is `query_then_fetch`.
|
||||||
|
|
Loading…
Reference in New Issue