Skip to content

Conversation

kosabogi
Copy link
Contributor

@kosabogi kosabogi commented Dec 4, 2024

Overview

With the introduction of default inference endpoints, manual creation of inference endpoints is no longer required for semantic search when using semantic_text.

The default (or preconfigured) endpoints start with a . character, we have 2 of them now:

  • .elser-2-elasticsearch
  • .multilingual-e5-small-elasticsearch

There is a new default value for the inference_id field (.elser-2-elasticsearch).

Preview

This PR updates the following pages:

Tutorial: semantic search with semantic_text
Tutorial: hybrid search with semantic_text
Semantic text field type

Related issue

#117821

@kosabogi kosabogi added >docs General docs changes Team:Docs Meta label for docs team auto-backport Automatically create backport pull requests when merged v9.0.0 v8.17.0 v8.18.0 labels Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

Documentation preview:

Copy link
Contributor

@szabosteve szabosteve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple of not critical suggestions. This is a nice update to the docs!

@kosabogi kosabogi marked this pull request as ready for review December 6, 2024 07:16
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion otherwise LGTM

@kosabogi kosabogi merged commit b2b8e3f into elastic:main Dec 9, 2024
5 checks passed
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.17
8.x

kosabogi added a commit to kosabogi/elasticsearch that referenced this pull request Dec 9, 2024
…c#117985)

* Adds new default inference information

* Update docs/reference/mapping/types/semantic-text.asciidoc

Co-authored-by: István Zoltán Szabó <[email protected]>

* Update docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc

Co-authored-by: István Zoltán Szabó <[email protected]>

* Update docs/reference/mapping/types/semantic-text.asciidoc

Co-authored-by: David Kyle <[email protected]>

---------

Co-authored-by: István Zoltán Szabó <[email protected]>
Co-authored-by: David Kyle <[email protected]>
kosabogi added a commit to kosabogi/elasticsearch that referenced this pull request Dec 9, 2024
…c#117985)

* Adds new default inference information

* Update docs/reference/mapping/types/semantic-text.asciidoc

Co-authored-by: István Zoltán Szabó <[email protected]>

* Update docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc

Co-authored-by: István Zoltán Szabó <[email protected]>

* Update docs/reference/mapping/types/semantic-text.asciidoc

Co-authored-by: David Kyle <[email protected]>

---------

Co-authored-by: István Zoltán Szabó <[email protected]>
Co-authored-by: David Kyle <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Dec 9, 2024
… (#118239)

* Adds new default inference information

* Update docs/reference/mapping/types/semantic-text.asciidoc



* Update docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc



* Update docs/reference/mapping/types/semantic-text.asciidoc



---------

Co-authored-by: István Zoltán Szabó <[email protected]>
Co-authored-by: David Kyle <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Dec 9, 2024
… (#118240)

* Adds new default inference information

* Update docs/reference/mapping/types/semantic-text.asciidoc



* Update docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc



* Update docs/reference/mapping/types/semantic-text.asciidoc



---------

Co-authored-by: István Zoltán Szabó <[email protected]>
Co-authored-by: David Kyle <[email protected]>
==== Parameters for `semantic_text` fields

`inference_id`::
(Required, string)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we forgot to update this to (Optional, string).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >docs General docs changes Team:Docs Meta label for docs team v8.17.0 v8.18.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants