Repository navigation
Adds a new vector and full-text search quickstart - #7923
Conversation
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
🔍 Preview links for changed docs |
✅ 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. |
|
Hi @alexmarhaba @dustincoates @georgewallace @KOTungseth @leemthompo , I've added the tutorial here, so please feel free to review it from now on. These commits include the modifications we agreed on in our last call. All commits include additional content refinements. I ran our review guidelines against this content and found a few areas that I thought would benefit from some small tweaks based on our guidelines. These include:
All these changes are negotiable. Please let me know what you think. Thank you in advance! |
|
I took a quick glance and it looks good to me, thanks! |
|
After testing the tutorial end to end thoroughly, I found that the previous structure mixed two usage models. Users were expected to add snippets to one file and rerun it for verification, but rerunning attempted to recreate the books index and failed with resource_already_exists_exception. Individual examples also depended on earlier imports and initialization, so they could not be tested independently. The guide was still usable when followed as a single uninterrupted flow, but the overall user experience did not feel clear or intuitive. Since we agreed that each step should be independently verifiable to support users’ understanding and learning, I updated the tutorial to provide two clear paths:
Happy to tweak anything based on feedback. |
Use the file and class names created by Gradle so readers can run the examples without renaming generated files. Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
A few things crossed my mind reading the latest version of this.
Otherwise, I have a few global thoughts:
- I'm missing the curl (and console) language examples, which are much more ergonomic for running the tutorial stepwise, versus the clients, plus there's much less boilerplate to sift through in the individiual steps.
- Again the stepwise client examples are kinda cumbersome
- For the complete runnable scripts, I'd make sure you're printing the results with some big obvious print statements, so the terminal output is super clear
Co-authored-by: Liam Thompson <[email protected]>
Co-authored-by: Liam Thompson <[email protected]>
Co-authored-by: Cursor <[email protected]>
414c941 to
0e683df
Compare
Co-authored-by: Cursor <[email protected]>
| Use it if you're new to search in {{es}} or want to experiment with meaning-based retrieval alongside keyword matching. | ||
|
|
||
| :::{tip} | ||
| Are you an agent? Use the [elasticsearch-onboarding skill](https://github.com/elastic/agent-skills/tree/main/skills/elasticsearch/elasticsearch-onboarding). |
There was a problem hiding this comment.
I find this a little confusing and disruptive, the goal of this quickstart is to learn about the VDB project and learn the basic syntax of indexing and hybrid querying. Is an agent expected to use the skill and the follow the quickstart? I'd consider losing this or putting it somewhere less prominent, and losing the "Are you an agent?" question
There was a problem hiding this comment.
we could at least soften the question to be more human-friendly and provide a bit more (concise) context about the details and value-add of the skill, right now it's not clear at all what this redirect will achieve for the user :)
Co-authored-by: Liam Thompson <[email protected]>
Co-authored-by: Liam Thompson <[email protected]>
leemthompo
left a comment
There was a problem hiding this comment.
Approving because I don't think we have any substantial blockers at this point :)
| vectordb: ga | ||
| --- | ||
|
|
||
| # {{es}} vector and full-text search in 10 minutes [vector-full-text-search-quickstart] |
There was a problem hiding this comment.
Final thought: I wonder if we should have a think about the SEO of this H1 and whether we want to include "vector database" explicitly in the title
|
Manually tested the complete and progressive examples across all supported clients, plus Console and cURL. Changes made based on testing:
|
## Summary Closes [#1413](elastic/docs-content-internal#1413) ### What's new Page / file | What changed -- | -- [Elasticsearch Vector Database project overview](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/solutions/vector-database) | Replaced hidden stub with full overview: what you get, when to use, limitations (index modes, no custom in-cluster ML), billing pointer. [Get started](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/solutions/vector-database/get-started) | Replaced hidden stub with create → ingest → search get-started guide. [Elasticsearch Vector Database billing dimensions](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/deploy-manage/cloud-organization/billing/vector-database-billing-dimensions) | New Vector Database billing page (storage, search, ingest, infrastructure; Search Power guidance). ### What's changed Page / file | What changed -- | -- [docs homepage](elastic/docs-builder#3866) | New Vector Database availability card in the **Solutions and use cases** section. [Solutions > Choose your path](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/solutions) | Added Vector Database to search path; clarified ES vs Vector Database choice tip. [get-started/introduction.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/get-started/introduction) | Reframed Elasticsearch need; added Vector Database row with Serverless badges. [get-started/versioning-availability.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/get-started/versioning-availability#examples-of-where-availability-can-vary) | Added Vector Database to Serverless project types list. [deploy-manage/deploy/elastic-cloud/serverless.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/deploy-manage/deploy/elastic-cloud/serverless#get-started) | Four project types; ES vs Vector Database positioning copy. [deploy-manage/deploy/elastic-cloud/create-an-organization.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/deploy-manage/deploy/elastic-cloud/create-an-organization#general-sign-up-trial-what-is-included-in-my-trial) | Trial info lists four project types, including Vector Database. [deploy-manage/deploy/elastic-cloud/project-settings.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/deploy-manage/deploy/elastic-cloud/project-settings#elasticsearch-manage-project-search-ai-lake-settings) | Added Vector Database Search Power row (default 100, increments of 100, max 1900). [deploy-manage/deploy/elastic-cloud/differences-from-other-elasticsearch-offerings.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/deploy-manage/deploy/elastic-cloud/differences-from-other-elasticsearch-offerings#architectural-differences) | Project organization row includes Vector Database. [deploy-manage/cloud-organization/billing.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/deploy-manage/cloud-organization/billing) | Linked Vector Database billing dimensions. [deploy-manage/cloud-organization/billing/serverless-project-billing-dimensions.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/deploy-manage/cloud-organization/billing/serverless-project-billing-dimensions#offerings) | Added Vector Database to offerings list. deploy-manage/toc.yml | Added Vector Database billing page to billing TOC. deploy-manage/_snippets/cps-billing.md | CPS retained-data rates include Vector Database. [deploy-manage/cross-project-search-config.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/deploy-manage/cross-project-search-config) | CPS linking includes Vector Database; SVG architecture replaced with Mermaid (incl. Vector Database spoke). [deploy-manage/users-roles/cloud-organization/user-roles.md](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7961/deploy-manage/users-roles/cloud-organization/user-roles#general-assign-user-roles-table) | Admin, Developer, Viewer availability includes Vector Database badge. contribute-docs/how-to/cumulative-docs/guidelines.md | Example updated from three to four serverless project types. solutions/toc.yml | Unhid Vector Database overview and get-started pages in nav. Related to #7923 ## Generative AI disclosure <!-- To help us ensure compliance with the Elastic open source and documentation guidelines, please answer the following: --> 1. Did you use a generative AI (GenAI) tool to assist in creating this contribution? - [x] Yes - [ ] No <!-- 2. If you answered "Yes" to the previous question, please specify the tool(s) and model(s) used (e.g., Google Gemini, OpenAI ChatGPT-4, etc.). --> Tool(s) and model(s) used: Used Cursor's Auto agent to surface pages that needed updates.
This PR adds a new vector and full-text search quickstart that:
Testing
All seven client examples were tested end to end with Claude against Elasticsearch. The tests verified the expected search rankings and ES|QL aggregation output.
Manually testing the tutorial: WIP
Generative AI disclosure
Claude, Cursor - GPT 5.6