Skip to content

Conversation

szabosteve
Copy link
Contributor

@szabosteve szabosteve commented Jul 23, 2025

Overview

This PR expands the semantic_text docs with the ELSER on EIS default endpoint and an example of how to define it in the mappings.

@szabosteve szabosteve added >docs General docs changes Team:Docs Meta label for docs team v9.1.0 labels Jul 23, 2025
Copy link
Contributor

github-actions bot commented Jul 23, 2025

🔍 Preview links for changed docs

@szabosteve szabosteve requested a review from Mikep86 July 28, 2025 15:12
@szabosteve szabosteve marked this pull request as ready for review July 28, 2025 15:13
@elasticsearchmachine
Copy link
Collaborator

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

Comment on lines 40 to 55
{applies_to}`stack: preview 9.1` If you use the preconfigured `.elser-2-elastic` endpoint that utilizes the ELSER model as a service (ELSER on EIS), you can
set up `semantic_text` with the following API request:

```console
PUT my-index-000001
{
"mappings": {
"properties": {
"inference_field": {
"type": "semantic_text",
"inference_id": ".elser-2-elastic"
}
}
}
}
```
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we move this example to after the custom inference endpoint mapping setup example? Putting this first may give users the idea that this is the recommended approach.

Also, can we call out that the .elser-2-elastic endpoint is tech preview and should not be used for production?

If any dedicated docs exist for ELSER on EIS, it would be good to link to them here too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your feedback, @Mikep86! I've addressed it via 2cd12a5.

@szabosteve szabosteve requested a review from Mikep86 July 29, 2025 09:03
Copy link
Contributor

@leemthompo leemthompo left a comment

Choose a reason for hiding this comment

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

LGTM with optional nits

@szabosteve szabosteve merged commit 3a603fe into elastic:main Jul 30, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes Team:Docs Meta label for docs team v9.1.0 v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants