← Back to Pull requests

Link Search Labs posts from MCP server and semantic_text pages #9565

Open
georgewallace opened this pull request with 10 lines diff across 2 files
View on GitHub
georgewallace georgewallace commented on Nov 21, 2026 01:57 UTC
Author

Summary

Closes elastic/docs-content-internal#2216 (MCP server page).
Closes elastic/docs-content-internal#2217 (semantic_text page).

Relates to elastic/docs-content-internal#2215 (first batch of content updates) and elastic/docs-content-internal#2085 (parent initiative). Not closing it: the issue also tracks the Labs-to-docs edits.

Docs-to-Labs half of the first batch of Docs and Labs cross-links.

  • MCP server (explore-analyze/ai-features/agent-builder/mcp-server.md): link the end-to-end Cursor guide, Connect Agent Builder tools to any AI agent with Elastic MCP server.

  • semantic_text (solutions/search/semantic-search/semantic-search-semantic-text.md): add a Related pages bullet for the chunking post, Customizing chunking & index options in Elasticsearch's semantic text field type.
  • Link text uses the titles from the published posts. No UTM parameters or query strings on the links, per the issue guidance.

    Preview

  • MCP server

  • Semantic search with semantic_text
  • Checks

  • Vale: no findings on the added lines after rewording one flagged term.

  • docs-builder full build: no errors from these files. The 2 reported errors are an undefined {{product.edot-react-native}} substitution in two EDOT troubleshooting pages, already present on main.

  • Not yet verified: that each post matches the description in the candidate sheet (reviewer skim welcome).
  • The Labs-to-docs half (OAuth MCP post and BBQ post) is edited by the Labs team in ContentStack and is not part of this PR.

    🤖 Generated with Claude Code

    Diff: 10 lines (+10 / -0) across 2 files Reviewer: kosabogi Review duration: 19377m
    All Vouch review confidence checks passed
    Residual risk 0.05 = Change Risk (0.24) × (1 − Review Confidence (0.78)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.24 · 10 lines diff across 2 files
    0.24
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.72 · 5 substantive comment(s)
    0.72
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    77%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.143
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    13 items
    github-actions[bot] github-actions[bot] commented on Nov 21, 2026 01:58 UTC
    Bot

    <!-- docs-pr-ai-menu:start -->

    Elastic Docs AI PR menu

    Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started. <!-- docs-pr-ai-menu:docs-review -->
  • Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

    <!-- docs-pr-ai-menu:end -->

    github-actions[bot] github-actions[bot] commented on Nov 21, 2026 02:02 UTC
    Bot
    github-actions[bot] github-actions[bot] commented on Nov 21, 2026 02:02 UTC
    Bot

    ✅ Elastic Docs Style Checker (Vale)

    No issues found on modified lines!

    ---

    The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

    <!-- Sticky Pull Request Commentelastic-vale-results -->

    kosabogi kosabogi approved these changes on Nov 23, 2026 09:28 UTC
    Approved Reviewer

    LGTM!

    leemthompo leemthompo commented on Nov 23, 2026 09:41 UTC
    Contributor

    These blog posts date from July and October 2025, which is an eternity in terms of product and ecosystem, do we want to warn the user upfront when linking to these kinds of posts ?

    jarturomora jarturomora commented on Nov 24, 2026 13:51 UTC
    Contributor

    These blog posts date from July and October 2025, which is an eternity in terms of product and ecosystem, do we want to warn the user upfront when linking to these kinds of posts ?

    @leemthompo, good catch! I think we can link the following documents that are from this year:

  • For MCP: Implementing an agentic reference architecture with Elastic Agent Builder and MCP

  • For semantic_text, this is the latest post we have: Semantic text in Elasticsearch: Simpler, better, leaner, stronger
  • Both are from 2026; we can use these instead, or add them too. What are your thoughts, @georgewallace?

    leemthompo leemthompo commented on Nov 24, 2026 15:09 UTC
    Contributor

    Hey no worries @jarturomora :D

    For semantic_text, this is the latest post we have: Semantic text in Elasticsearch: Simpler, better, leaner, stronger

    🔍 But this one seems to be from March 13, 2025

    jarturomora jarturomora commented on Nov 24, 2026 16:59 UTC
    Contributor

    Hey no worries @jarturomora :D

    > > For semantic_text, this is the latest post we have: Semantic text in Elasticsearch: Simpler, better, leaner, stronger

    > 🔍 But this one seems to be from March 13, 2025

    You're right @leemthompo, I confused the 5 with a 6 😅. So, I'm afraid we don't have any newer articles about semantic_text, so I think we can add the one @georgewallace picked. I will talk to my team about it, since I think it's worth writing a fresh article about semantic_text.

    leemthompo leemthompo commented on code on Nov 30, 2026 12:24 UTC
    Code Review
    solutions/search/semantic-search/semantic-search-semantic-text.md:1
    @@ -401,3 +401,4 @@ Tune cluster performance by monitoring thread pools and refresh interval.
     * For more information on how to optimize your ELSER endpoints, refer to [the ELSER recommendations](/explore-analyze/machine-learning/nlp/ml-nlp-elser.md#elser-recommendations) section in the model documentation.
     * To learn more about model autoscaling, refer to the [trained model autoscaling](../../../deploy-manage/autoscaling/trained-model-autoscaling.md) page.
     * To learn how to optimize storage and search performance when using dense vector embeddings, refer to [Optimizing vector storage](../vector/vector-storage-for-semantic-search.md).
    +* To see worked examples of configuring chunking and `index_options` per field, refer to the Elastic Search Labs blog post [Customizing chunking & index options in Elasticsearch's semantic text field type](https://www.elastic.co/search-labs/blog/semantic-text-chunking-index-options).

    (I was reviewing the semantic_text page in a separate issue and this related pages section needs trimming)

    Here I think it would be clearer signposting to have a separate related section for blog content, with a short caveat that the docs are the source of truth for the latest product info.

    
    ### Related blog posts
    
    :::{note}
    Blog posts aren't kept up to date with every release. Check the docs for the latest behavior.
    :::
    
    * [Customizing chunking & index options in Elasticsearch's semantic text field type](https://www.elastic.co/search-labs/blog/semantic-text-chunking-index-options): Worked examples of configuring chunking and `index_options` per field.
    

    jarturomora jarturomora commented on code on Nov 30, 2026 13:52 UTC
    Code Review
    solutions/search/semantic-search/semantic-search-semantic-text.md:1
    @@ -401,3 +401,4 @@ Tune cluster performance by monitoring thread pools and refresh interval.
     * For more information on how to optimize your ELSER endpoints, refer to [the ELSER recommendations](/explore-analyze/machine-learning/nlp/ml-nlp-elser.md#elser-recommendations) section in the model documentation.
     * To learn more about model autoscaling, refer to the [trained model autoscaling](../../../deploy-manage/autoscaling/trained-model-autoscaling.md) page.
     * To learn how to optimize storage and search performance when using dense vector embeddings, refer to [Optimizing vector storage](../vector/vector-storage-for-semantic-search.md).
    +* To see worked examples of configuring chunking and `index_options` per field, refer to the Elastic Search Labs blog post [Customizing chunking & index options in Elasticsearch's semantic text field type](https://www.elastic.co/search-labs/blog/semantic-text-chunking-index-options).

    It looks good to me, thanks for following up @leemthompo

    georgewallace georgewallace commented on Dec 01, 2026 17:12 UTC
    Author

    @jarturomora and @leemthompo I accepted the change to put it in a section of related blog posts. PTAL when you get a chance.

    leemthompo leemthompo approved these changes on Dec 02, 2026 08:22 UTC
    Approved Reviewer

    👍

    Reviewers
    Assignees
    georgewallace georgewallace
    Labels
    risk: low confidence: 77.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 23.8% (LOW) · Higher = larger blast radius
    23.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 77.6% · Lower = rushed or shallow review
    77.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 5.3% · Safe to merge
    5.3%