Skip to content

Commit 612d823

Browse files
committed
[Search] Add search approaches content, rename querying-for-search doc
1 parent 9450db1 commit 612d823

File tree

6 files changed

+24
-7
lines changed

6 files changed

+24
-7
lines changed

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/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]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Vector search
2525

2626
To run a search request, you can use the search API or Search Applications.
2727

28-
[Search API](../../../solutions/search/querying-for-search-searching-with-the-search-api.md)
28+
[Search API](../../../solutions/search/querying-for-search.md)
2929
: The [search API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html) enables you to search and [aggregate](../../../explore-analyze/aggregations.md) data stored in {{es}} using a query language called the [Query DSL](../../../explore-analyze/query-filter/languages/querydsl.md).
3030

3131
[Search Applications](../../../solutions/search/applications.md)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mapped_urls:
88
- https://www.elastic.co/guide/en/elasticsearch/reference/current/_retrievers_examples.html
99
---
1010

11-
# Querying for search / searching with the search API
11+
# Query languages for search
1212

1313
% What needs to be done: Lift-and-shift
1414

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Search approaches
22

3-
% What needs to be done: Write from scratch
3+
To deliver relevant search results, you need to choose the right search approach for your data and use case.
44

5-
% Scope notes: ml, full text, hybrid
5+
The following table provides an overview of the fundamental search techniques available in {{es}}:
6+
7+
| Name | Description | Notes |
8+
|------|-------------|--------|
9+
| [**Full-text search**](full-text.md) | Traditional lexical search with analyzers and relevance tuning | Essential foundation for keyword matching, works out of the box |
10+
| [**Vector search**](vector.md) | Similarity search using numerical vectors | Requires extra setup/resources, ideal for finding similar documents |
11+
| [**Semantic search**](semantic-search.md) | Meaning-based search using natural language understanding | Requires ML models and vector infrastructure |
12+
| [**Hybrid search**](hybrid.md) | Combines lexical and vector/semantic approaches | Best balance for both keyword precision and semantic relevance |
13+
| [**Re-ranking**](semantic-reranking.md) | Post-processing results to improve relevance | Optional ML-based enhancement for fine-tuned relevance |
14+
| [**Geospatial search**](/explore-analyze/geospatial-analysis.md) | Location-based search and spatial relationships | For maps, distance calculations, and shape queries |
15+
16+
:::::{tip}
17+
Full-text search is a very powerful tool in itself. One of the key strengths of {{es}} is its flexibility, allowing you to start with full-text search and gradually incorporate more complex or resource-intensive approaches over time.
18+
:::::
19+
20+
## Next step
21+
22+
Once you've chosen your search approach(es), you'll need to select a query language to implement them. Refer to [query languages for search use cases]() to learn about the available options.

solutions/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ toc:
588588
children:
589589
- file: search/search-approaches/long-running-searches.md
590590
- file: search/search-approaches/near-real-time-search.md
591-
- file: search/querying-for-search-searching-with-the-search-api.md
591+
- file: search/querying-for-search.md
592592
- file: search/inference-api.md
593593
children:
594594
- file: search/inference-api/elastic-inference-service-eis.md

0 commit comments

Comments
 (0)