|
1 | 1 | --- |
| 2 | +navigation_title: Vector search |
2 | 3 | applies_to: |
3 | 4 | stack: |
4 | 5 | serverless: |
5 | 6 | --- |
6 | | -# Vector search |
| 7 | +# Vector search in {{es}} |
7 | 8 |
|
8 | 9 | :::{tip} |
9 | | -Looking for a minimal configuration approach? The `semantic_text` field type provides an abstraction over these vector search implementations with sensible defaults and automatic model management. It's the recommended approach for most users. [Learn more about semantic_text](semantic-search/semantic-search-semantic-text.md). |
| 10 | +Looking for a minimal configuration approach? The `semantic_text` field type provides an abstraction over vector search implementations with sensible defaults and automatic model management. It's the recommended way to start with {{es}} vector search. [Learn more about semantic_text](semantic-search/semantic-search-semantic-text.md). |
10 | 11 | ::: |
11 | 12 |
|
12 | | -Vector embeddings are a core technology in modern search, enabling models to learn and represent complex relationships in input data. When your content is vectorized, Elasticsearch can help users find content based on meaning and similarity, instead of just keyword or exact term matches. |
| 13 | +Vector search in {{es}} uses vector embeddings to power modern, AI-driven search experiences. With vectorized content, Elasticsearch retrieves results based on meaning and similarity, not just keywords or exact term matches. |
13 | 14 |
|
14 | | -Vector search is an important component of most modern [semantic search](semantic-search.md) implementations. It can also be used independently for various similarity matching use cases. Learn more about use cases for AI-powered search in the [overview](ai-search/ai-search.md) page. |
| 15 | +Vector search is a core component of most [semantic search](semantic-search.md) workflows, but it can also be used independently for similarity matching use cases. Learn more about the broader benefits in the [AI-powered search overview](ai-search/ai-search.md). |
15 | 16 |
|
16 | | -This guide explores the more manual technical implementation of vector search approaches, that do not use the higher-level `semantic_text` workflow. |
| 17 | +This guide focuses on the more manual technical implementations of vector search, outside of the higher-level `semantic_text` workflow. |
| 18 | +The right approach depends on your requirements, data type, and use case. |
17 | 19 |
|
18 | | -Which approach you use depends on your specific requirements and use case. |
| 20 | +## Vector queries and field types in {{es}} [vector-queries-and-field-types] |
19 | 21 |
|
20 | | -## Vector queries and field types |
| 22 | +Here’s a quick reference for the main **vector field types** and **query types** you can use: |
21 | 23 |
|
22 | | -Here's a quick reference overview of vector search field types and queries available in Elasticsearch: |
| 24 | +| Vector type | Field type | Query type | Primary use case | |
| 25 | +| --------------- | --------------- | --------------- | ----------------------------------------------------------- | |
| 26 | +| Dense vectors | `dense_vector` | `knn` | Semantic similarity with your own embeddings model | |
| 27 | +| Sparse vectors | `sparse_vector` | `sparse_vector` | Semantic term expansion using the ELSER model | |
| 28 | +| Sparse or dense | `semantic_text` | `semantic` | Managed semantic search, agnostic to implementation details | |
23 | 29 |
|
24 | | -| Vector type | Field type | Query type | Primary use case | |
25 | | -| ----------- | --------------- | --------------- | -------------------------------------------------- | |
26 | | -| Dense | `dense_vector` | `knn` | Semantic similarity using your chosen embeddings model | |
27 | | -| Sparse | `sparse_vector` | `sparse_vector` | Semantic term expansion with the ELSER model | |
28 | | -| Sparse or dense | `semantic_text` | `semantic` | Managed semantic search that is agnostic to implementation details | |
| 30 | +## Dense vector search in {{es}} |
29 | 31 |
|
30 | | -## Dense vector search |
| 32 | +Dense vector search uses neural embeddings to capture semantic meaning. It translates content into fixed-length numeric vectors, where similar items cluster close together in vector space. This makes dense vectors ideal for: |
31 | 33 |
|
32 | | -Dense neural embeddings capture semantic meaning by translating content into fixed-length vectors of floating-point numbers. Similar content maps to nearby points in the vector space, making them ideal for: |
33 | | -- Finding semantically similar content |
34 | | -- Matching questions with answers |
35 | | -- Image similarity search |
36 | | -- Content-based recommendations |
| 34 | +- Finding semantically similar documents |
| 35 | +- Matching user questions with answers |
| 36 | +- Image and multimedia similarity search |
| 37 | +- Content-based recommendations |
37 | 38 |
|
38 | | -[Learn more about dense vector search](vector/dense-vector.md). |
| 39 | +[Learn more about dense vector search in {{es}}](vector/dense-vector.md). |
39 | 40 |
|
40 | | -## Sparse vector search |
| 41 | +## Sparse vector search with ELSER |
41 | 42 |
|
42 | | -The sparse vector approach uses the ELSER model to expand content with semantically related terms. This approach preserves explainability while adding semantic understanding, making it well-suited for: |
43 | | -- Enhanced keyword search |
44 | | -- Cases requiring explainable results |
45 | | -- Domain-specific search |
| 43 | +Sparse vector search relies on the **ELSER model** to expand content with semantically related terms. This approach combines semantic understanding with explainability, making it a strong fit for: |
| 44 | + |
| 45 | +- Enhanced keyword search |
| 46 | +- Use cases requiring explainable results |
| 47 | +- Domain-specific search |
46 | 48 | - Large-scale deployments |
47 | 49 |
|
48 | 50 | [Learn more about sparse vector search with ELSER](vector/sparse-vector.md). |
0 commit comments