Skip to content

Commit 05a6706

Browse files
authored
[Search] Add search approaches content, rename querying-for-search doc (#291)
1 parent 9450db1 commit 05a6706

File tree

18 files changed

+37
-20
lines changed

18 files changed

+37
-20
lines changed

deploy-manage/production-guidance/optimize-performance/search-speed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,5 +424,5 @@ The `constant_keyword` is not strictly required for this optimization: it is als
424424

425425
## Default search timeout [_default_search_timeout]
426426

427-
By default, search requests don’t time out. You can set a timeout using the [`search.default_search_timeout`](../../../solutions/search/querying-for-search-searching-with-the-search-api.md#search-timeout) setting.
427+
By default, search requests don’t time out. You can set a timeout using the [`search.default_search_timeout`](../../../solutions/search/querying-for-search.md#search-timeout) setting.
428428

explore-analyze/aggregations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ An aggregation summarizes your data as metrics, statistics, or other analytics.
2121

2222
## Run an aggregation [run-an-agg]
2323

24-
You can run aggregations as part of a [search](../solutions/search/querying-for-search-searching-with-the-search-api.md) by specifying the [search API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html)'s `aggs` parameter. The following search runs a [terms aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html) on `my-field`:
24+
You can run aggregations as part of a [search](../solutions/search/querying-for-search.md) by specifying the [search API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html)'s `aggs` parameter. The following search runs a [terms aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html) on `my-field`:
2525

2626
```console
2727
GET /my-index-000001/_search

explore-analyze/query-filter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Refer to [Query languages](#search-analyze-query-languages) for a full overview
3434

3535
[Query DSL](query-filter/languages/querydsl.md) is a full-featured JSON-style query language that enables complex searching, filtering, and aggregations. It is the original and most powerful query language for {{es}} today.
3636

37-
The [`_search` endpoint](../solutions/search/querying-for-search-searching-with-the-search-api.md) accepts queries written in Query DSL syntax.
37+
The [`_search` endpoint](../solutions/search/querying-for-search.md) accepts queries written in Query DSL syntax.
3838

3939

4040
#### Search and filter with Query DSL [search-analyze-query-dsl-search-filter]

explore-analyze/query-filter/languages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Refer to [Query languages](../query-filter.md#search-analyze-query-languages) fo
3434

3535
[Query DSL](languages/querydsl.md) is a full-featured JSON-style query language that enables complex searching, filtering, and aggregations. It is the original and most powerful query language for {{es}} today.
3636

37-
The [`_search` endpoint](../../solutions/search/querying-for-search-searching-with-the-search-api.md) accepts queries written in Query DSL syntax.
37+
The [`_search` endpoint](../../solutions/search/querying-for-search.md) accepts queries written in Query DSL syntax.
3838

3939

4040
#### Search and filter with Query DSL [search-analyze-query-dsl-search-filter]

manage-data/use-case-use-elasticsearch-to-manage-time-series-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ GET my-data-stream/_search
409409
}
410410
```
411411

412-
{{es}} searches are synchronous by default. Searches across frozen data, long time ranges, or large datasets may take longer. Use the [async search API](https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html#submit-async-search) to run searches in the background. For more search options, see [*The search API*](../solutions/search/querying-for-search-searching-with-the-search-api.md).
412+
{{es}} searches are synchronous by default. Searches across frozen data, long time ranges, or large datasets may take longer. Use the [async search API](https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html#submit-async-search) to run searches in the background. For more search options, see [*The search API*](../solutions/search/querying-for-search.md).
413413

414414
```console
415415
POST my-data-stream/_async_search

raw-migrated-files/docs-content/serverless/elasticsearch-search-your-data-the-search-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A search may also contain additional information used to better process its quer
66

77
You can use the [search API](https://www.elastic.co/docs/api/doc/elasticsearch-serverless/group/endpoint-search) to search and aggregate data stored in {{es}} data streams or indices.
88

9-
For more information, refer to [the search API overview](../../../solutions/search/querying-for-search-searching-with-the-search-api.md) in the core {{es}} docs.
9+
For more information, refer to [the search API overview](../../../solutions/search/querying-for-search.md) in the core {{es}} docs.
1010

1111

1212
## Query DSL [elasticsearch-search-your-data-the-query-dsl]
@@ -20,5 +20,5 @@ The `_search` API’s `query` request body parameter accepts queries written in
2020

2121
Retrievers are an alternative to Query DSL that allow you to configure complex retrieval pipelines using a simplified syntax. Retrievers simplify the user experience by allowing entire retrieval pipelines to be configured in a single `_search` API call.
2222

23-
Learn more in the [Retrievers overview](../../../solutions/search/querying-for-search-searching-with-the-search-api.md) in the core {{es}} docs.
23+
Learn more in the [Retrievers overview](../../../solutions/search/querying-for-search.md) in the core {{es}} docs.
2424

raw-migrated-files/docs-content/serverless/elasticsearch-search-your-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Learn about the various query languages you can use to search your data in the [
2222

2323
The subpages in this section provide some high-level information about selected important search-related topics:
2424

25-
* [The search API](../../../solutions/search/querying-for-search-searching-with-the-search-api.md)
25+
* [The search API](../../../solutions/search/querying-for-search.md)
2626
* [K-Nearest Neighbors (KNN) search](../../../solutions/search/vector/knn.md)
2727
* [Semantic search](../../../solutions/search/semantic-search.md)
2828

raw-migrated-files/elasticsearch/elasticsearch-reference/full-text-filter-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ At search time, {{es}} defaults to the analyzer defined in the field mapping. In
196196
}
197197
```
198198

199-
1. The `hits` object contains the total number of matching documents and their relation to the total. Refer to [Track total hits](../../../solutions/search/querying-for-search-searching-with-the-search-api.md#track-total-hits) for more details about the `hits` object.
199+
1. The `hits` object contains the total number of matching documents and their relation to the total. Refer to [Track total hits](../../../solutions/search/querying-for-search.md#track-total-hits) for more details about the `hits` object.
200200
2. `max_score` is the highest relevance score among all matching documents. In this example, we only have one matching document.
201201
3. `_score` is the relevance score for a specific document, indicating how well it matches the query. Higher scores indicate better matches. In this example the `max_score` is the same as the `_score`, as there is only one matching document.
202202
4. The title contains both "Fluffy" and "Pancakes", matching our search terms exactly.

raw-migrated-files/elasticsearch/elasticsearch-reference/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ This allows you to combine explicit and dynamic mappings. Learn more about [mana
353353

354354
## Step 4: Search your index [getting-started-search-data]
355355

356-
Indexed documents are available for search in near real-time, using the [`_search` API](../../../solutions/search/querying-for-search-searching-with-the-search-api.md).
356+
Indexed documents are available for search in near real-time, using the [`_search` API](../../../solutions/search/querying-for-search.md).
357357

358358

359359
### Search all documents [getting-started-search-all-documents]

raw-migrated-files/elasticsearch/elasticsearch-reference/search-analyze.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Refer to [Query languages](../../../explore-analyze/query-filter.md#search-analy
2929

3030
[Query DSL](../../../explore-analyze/query-filter/languages/querydsl.md) is a full-featured JSON-style query language that enables complex searching, filtering, and aggregations. It is the original and most powerful query language for {{es}} today.
3131

32-
The [`_search` endpoint](../../../solutions/search/querying-for-search-searching-with-the-search-api.md) accepts queries written in Query DSL syntax.
32+
The [`_search` endpoint](../../../solutions/search/querying-for-search.md) accepts queries written in Query DSL syntax.
3333

3434

3535
#### Search and filter with Query DSL [search-analyze-query-dsl-search-filter]

0 commit comments

Comments
 (0)