From 4c00b75757706c789dcb5d9ada45a3a84142e4d3 Mon Sep 17 00:00:00 2001 From: Mike Pellegrini Date: Wed, 12 Mar 2025 13:21:06 -0400 Subject: [PATCH 1/4] Remove beta warnings --- docs/reference/mapping/types/semantic-text.asciidoc | 8 +++----- docs/reference/query-dsl/semantic-query.asciidoc | 2 -- 2 files changed, 3 insertions(+), 7 deletions(-) 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. From 85f541f27015bd128c38c11a862f3b34d96e8ba6 Mon Sep 17 00:00:00 2001 From: Mike Pellegrini Date: Wed, 19 Mar 2025 12:08:01 -0400 Subject: [PATCH 2/4] Update docs/changelog/124670.yaml --- docs/changelog/124670.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/changelog/124670.yaml diff --git a/docs/changelog/124670.yaml b/docs/changelog/124670.yaml new file mode 100644 index 0000000000000..7b1ab31cd81c3 --- /dev/null +++ b/docs/changelog/124670.yaml @@ -0,0 +1,9 @@ +pr: 124670 +summary: "[8.x] Mark semantic text as GA in docs" +area: Relevance +type: docs +issues: [] +highlight: + title: "[8.x] Mark semantic text as GA in docs" + body: Remove the beta warnings on the `semantic_text` docs + notable: true From 96a6a815ea8830bfb84d276233f44c61dac85c39 Mon Sep 17 00:00:00 2001 From: Mike Pellegrini Date: Wed, 19 Mar 2025 12:11:33 -0400 Subject: [PATCH 3/4] Update changelog --- docs/changelog/124670.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/changelog/124670.yaml b/docs/changelog/124670.yaml index 7b1ab31cd81c3..202da602d4930 100644 --- a/docs/changelog/124670.yaml +++ b/docs/changelog/124670.yaml @@ -1,9 +1,10 @@ pr: 124670 -summary: "[8.x] Mark semantic text as GA in docs" -area: Relevance -type: docs +summary: Release semantic_text as a GA feature +area: Mapping +type: feature issues: [] highlight: - title: "[8.x] Mark semantic text as GA in docs" - body: Remove the beta warnings on the `semantic_text` docs + 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 From 1443a7f9d0fde8de31b35242153a3933e6bfbcbd Mon Sep 17 00:00:00 2001 From: Mike Pellegrini Date: Wed, 19 Mar 2025 12:14:02 -0400 Subject: [PATCH 4/4] Remove beta warning --- .../semantic-search-semantic-text.asciidoc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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> }