mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
[DOCS] Fix broken links for ES API docs move (#44279)
* [DOCS] Fix broken links for ES API docs move Co-Authored-By: Lisa Cawley <lcawley@elastic.co>
This commit is contained in:
parent
f4496b9979
commit
3bdd2f4432
9 changed files with 12 additions and 12 deletions
|
@ -65,7 +65,7 @@ include-tagged::{doc-tests-file}[{api}-request-item-extras]
|
|||
<2> Version
|
||||
<3> Version type
|
||||
|
||||
{ref}/search-request-preference.html[`preference`],
|
||||
{ref}/search-request-body.html#search-request-preference[`preference`],
|
||||
{ref}/docs-get.html#realtime[`realtime`]
|
||||
and
|
||||
{ref}/docs-get.html#get-refresh[`refresh`] can be set on the main request but
|
||||
|
|
|
@ -430,7 +430,7 @@ include-tagged::{doc-tests-file}[{api}-request-profiling-queries-results]
|
|||
<3> Retrieve the time in millis spent executing the Lucene query
|
||||
<4> Retrieve the profile results for the sub-queries (if any)
|
||||
|
||||
The Rest API documentation contains more information about {ref}/search-profile-queries.html[Profiling Queries] with
|
||||
The Rest API documentation contains more information about {ref}/search-profile.html#search-profile-queries[Profiling Queries] with
|
||||
a description of the query profiling information.
|
||||
|
||||
The `QueryProfileShardResult` also gives access to the profiling information for the Lucene collectors:
|
||||
|
@ -445,7 +445,7 @@ include-tagged::{doc-tests-file}[{api}-request-profiling-queries-collectors]
|
|||
<4> Retrieve the profile results for the sub-collectors (if any)
|
||||
|
||||
The Rest API documentation contains more information about profiling information
|
||||
for Lucene collectors. See {ref}/search-profile-queries.html[Profiling queries].
|
||||
for Lucene collectors. See {ref}/search-profile.html#search-profile-queries[Profiling queries].
|
||||
|
||||
In a very similar manner to the query tree execution, the `QueryProfileShardResult` objects gives access
|
||||
to the detailed aggregations tree execution:
|
||||
|
@ -461,4 +461,4 @@ include-tagged::{doc-tests-file}[{api}-request-profiling-aggs]
|
|||
<5> Retrieve the profile results for the sub-aggregations (if any)
|
||||
|
||||
The Rest API documentation contains more information about
|
||||
{ref}/search-profile-aggregations.html[Profiling aggregations].
|
||||
{ref}/search-profile.html#search-profile-aggregations[Profiling aggregations].
|
||||
|
|
|
@ -23,7 +23,7 @@ specialized code may define new ways to use a Painless script.
|
|||
| Reindex | <<painless-reindex-context, Painless Documentation>>
|
||||
| {ref}/docs-reindex.html[Elasticsearch Documentation]
|
||||
| Sort | <<painless-sort-context, Painless Documentation>>
|
||||
| {ref}/search-request-sort.html[Elasticsearch Documentation]
|
||||
| {ref}/search-request-body.html#search-request-sort[Elasticsearch Documentation]
|
||||
| Similarity | <<painless-similarity-context, Painless Documentation>>
|
||||
| {ref}/index-modules-similarity.html[Elasticsearch Documentation]
|
||||
| Weight | <<painless-weight-context, Painless Documentation>>
|
||||
|
@ -31,7 +31,7 @@ specialized code may define new ways to use a Painless script.
|
|||
| Score | <<painless-score-context, Painless Documentation>>
|
||||
| {ref}/query-dsl-function-score-query.html[Elasticsearch Documentation]
|
||||
| Field | <<painless-field-context, Painless Documentation>>
|
||||
| {ref}/search-request-script-fields.html[Elasticsearch Documentation]
|
||||
| {ref}/search-request-body.html#search-request-script-fields[Elasticsearch Documentation]
|
||||
| Filter | <<painless-filter-context, Painless Documentation>>
|
||||
| {ref}/query-dsl-script-query.html[Elasticsearch Documentation]
|
||||
| Minimum should match | <<painless-min-should-match-context, Painless Documentation>>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
=== Field context
|
||||
|
||||
Use a Painless script to create a
|
||||
{ref}/search-request-script-fields.html[script field] to return
|
||||
{ref}/search-request-body.html#search-request-script-fields[script field] to return
|
||||
a customized value for each document in the results of a query.
|
||||
|
||||
*Variables*
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
=== Sort context
|
||||
|
||||
Use a Painless script to
|
||||
{ref}/search-request-sort.html[sort] the documents in a query.
|
||||
{ref}/search-request-body.html#search-request-sort[sort] the documents in a query.
|
||||
|
||||
*Variables*
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ function. The `datafeed-test1` {dfeed} defines the script field. It contains a
|
|||
script that adds two fields in the document to produce a "total" error count.
|
||||
|
||||
The syntax for the `script_fields` property is identical to that used by {es}.
|
||||
For more information, see {ref}/search-request-script-fields.html[Script Fields].
|
||||
For more information, see <<search-request-script-fields,Script fields>>.
|
||||
|
||||
You can preview the contents of the {dfeed} by using the following API:
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ You can use the `search` input to load Elasticsearch search results as the watch
|
|||
initial payload.
|
||||
|
||||
A <<input-search, search>> input contains a `request` object that specifies the
|
||||
indices you want to search, the {ref}/search-request-search-type.html[search type],
|
||||
indices you want to search, the {ref}/search-request-body.html#search-request-search-type[search type],
|
||||
and the search request body. The `body` field of a search input is the same as
|
||||
the body of an Elasticsearch `_search` request, making the full Elasticsearch
|
||||
Query DSL available for you to use.
|
||||
|
|
|
@ -9,7 +9,7 @@ supported attributes.
|
|||
In the search input's `request` object, you specify:
|
||||
|
||||
* The indices you want to search
|
||||
* The {ref}/search-request-search-type.html[search type]
|
||||
* The {ref}/search-request-body.html#search-request-search-type[search type]
|
||||
* The search request body
|
||||
|
||||
The search request body supports the full Elasticsearch Query DSL--it's the
|
||||
|
|
|
@ -52,7 +52,7 @@ The following table lists all available settings for the search transform:
|
|||
|======
|
||||
| Name |Required | Default | Description
|
||||
|
||||
| `request.search_type` | no | query_then_fetch | The search {ref}/search-request-search-type.html[type].
|
||||
| `request.search_type` | no | query_then_fetch | The search {ref}/search-request-body.html#search-request-search-type[type].
|
||||
|
||||
| `request.indices` | no | all indices | One or more indices to search on.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue