diff --git a/docs/changelog/124670.yaml b/docs/changelog/124670.yaml new file mode 100644 index 0000000000000..202da602d4930 --- /dev/null +++ b/docs/changelog/124670.yaml @@ -0,0 +1,10 @@ +pr: 124670 +summary: Release semantic_text as a GA feature +area: Mapping +type: feature +issues: [] +highlight: + title: Release semantic_text as a GA feature + body: semantic_text is now an official GA (generally available) feature! + This field type allows you to easily set up and perform semantic search with minimal ramp up time. + notable: true diff --git a/docs/reference/mapping/types/semantic-text.asciidoc b/docs/reference/mapping/types/semantic-text.asciidoc index c5cc24f957a44..8ae5e1631f558 100644 --- a/docs/reference/mapping/types/semantic-text.asciidoc +++ b/docs/reference/mapping/types/semantic-text.asciidoc @@ -5,14 +5,12 @@ Semantic text ++++ -beta[] - The `semantic_text` field type automatically generates embeddings for text content using an inference endpoint. Long passages are <> to smaller sections to enable the processing of larger corpuses of text. The `semantic_text` field type specifies an inference endpoint identifier that will be used to generate embeddings. You can create the inference endpoint by using the <>. -This field type and the <> type make it simpler to perform semantic search on your data. +This field type and the <> type make it simpler to perform semantic search on your data. The `semantic_text` field type may also be queried with <>, <> or <> queries. If you don’t specify an inference endpoint, the `inference_id` field defaults to `.elser-2-elasticsearch`, a preconfigured endpoint for the elasticsearch service. @@ -193,8 +191,8 @@ types and create an ingest pipeline with an <> to generate the embeddings. <> walks you through the process. In these cases - when you use `sparse_vector` or `dense_vector` field types instead -of the `semantic_text` field type to customize indexing - using the -<> is not supported for querying the +of the `semantic_text` field type to customize indexing - using the +<> is not supported for querying the field data. diff --git a/docs/reference/query-dsl/semantic-query.asciidoc b/docs/reference/query-dsl/semantic-query.asciidoc index 914f4429f7f9c..d3562bf413063 100644 --- a/docs/reference/query-dsl/semantic-query.asciidoc +++ b/docs/reference/query-dsl/semantic-query.asciidoc @@ -4,8 +4,6 @@ Semantic ++++ -beta[] - The `semantic` query type enables you to perform <> on data stored in a <> field. diff --git a/docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc b/docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc index 50a9da4af2fba..1caa03c66d699 100644 --- a/docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc +++ b/docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc @@ -4,8 +4,6 @@ Semantic search with `semantic_text` ++++ -beta[] - This tutorial shows you how to use the semantic text feature to perform semantic search on your data. Semantic text simplifies the {infer} workflow by providing {infer} at ingestion time and sensible default values automatically. @@ -21,7 +19,7 @@ This tutorial uses the <> f [[semantic-text-requirements]] ==== Requirements -This tutorial uses the <> for demonstration, which is created automatically as needed. +This tutorial uses the <> for demonstration, which is created automatically as needed. To use the `semantic_text` field type with an {infer} service other than `elasticsearch` service, you must create an inference endpoint using the <>. @@ -92,7 +90,7 @@ The reindexed data will be processed by the {infer} endpoint associated with the ------------------------------------------------------------ POST _reindex?wait_for_completion=false { - "source": { + "source": { "index": "test-data", "size": 10 <1> }, @@ -139,7 +137,7 @@ The {infer} endpoint used to generate the embeddings for the `semantic_text` fie GET semantic-embeddings/_search { "query": { - "semantic": { + "semantic": { "field": "content", <1> "query": "How to avoid muscle soreness while running?" <2> }