Repository navigation
Vector db project - #7961
Vector db project#7961
Conversation
The diagram also includes a new node to represent Vector Database project types.
Also update the trial (Sign up) page to include Vector Database
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. |
Elastic Docs Style Checker (Vale)Summary: 1 warning, 2 suggestions found
|
| File | Line | Rule | Message |
|---|---|---|---|
| solutions/vector-database/get-started.md | 38 | Elastic.Spelling | 'ecloud' is a possible misspelling. |
💡 Suggestions (2): Optional style improvements. Apply when helpful.
| File | Line | Rule | Message |
|---|---|---|---|
| deploy-manage/cloud-organization/billing/vector-database-billing-dimensions.md | 60 | Elastic.WordChoice | Consider using 'can, might' instead of 'may', unless the term is in the UI. |
| solutions/vector-database.md | 38 | Elastic.Semicolons | Use semicolons sparingly. Consider splitting the sentence or using a comma or conjunction. |
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.
There was a problem hiding this comment.
Thank you @yetanothertw, this already looks really good!I
I've left a few suggestions for your consideration. Many of them are related to the new search tutorial we're adding and how it might change the role of the Get started page, as well as the semantic field type and the multimodal search page/tutorial.
|
@yetanothertw -- following from our conversation just now: the maximum data size for a VDB project is 1TB, so we should have that in the docs. |
Is this limit adjustable @dustincoates ? Can we say that it can be increased by request (via support)? |
There was a problem hiding this comment.
a well-rounded entrypoint! some thoughts and comments for some possible optimizations here, with a ✅ (can review again if you want, but just in case)
key things I spotted:
- we talk about some generic elasticsearch capabilities. as vectordb features - we should be clear about "you get all of the power of [these core elasticsearch features] with [these optimizations]".
- you might want to work on the value prop of the project type broadly, to maybe hit a tone of "everything you need, nothing you don't, $$ optimized for your use case" a little more sharply
- some bits where we imply that certain things are not available in other project types, or reduce the value statement for elasticsearch
as a follow-up, I think we need to figure out what content pages need new applicability tags (anywhere something is overtly disabled just for vectordb). For example, we probably need to add "vectordb unavailable" wherever we talk about unsupported index modes like logsdb, e.g.
https://www.elastic.co/docs/reference/elasticsearch/index-settings/index-modules
https://www.elastic.co/docs/manage-data/data-store/data-streams/logs-data-stream
https://www.elastic.co/docs/manage-data/data-store/data-streams (not sure of impact here)
| | Monitor data for anomalous activity, detect, prevent, and respond to security incidents | [{{elastic-sec}}](/solutions/security.md)<br>• [Get started](/solutions/security/get-started.md)| SOC teams, security analysts, IT security admins | | ||
|
|
||
| :::{note} | ||
| The core [{{es}} search capabilities](/solutions/search.md) are available across all deployment types, solutions, and project types. The [{{es}} solution](/solutions/elasticsearch-solution-project.md) adds UI tools on top of these capabilities to help you build search-powered applications faster. |
There was a problem hiding this comment.
this note is not true for vectordb
There was a problem hiding this comment.
How do you mean?
Which capabilities do not apply to vectordb?
There was a problem hiding this comment.
Core es capabilities include stuff like logsdb index mode (might not be explicitly in the search use case docs, but I'm not 100% sure)
|
|
||
| :::{note} | ||
| {{vectordb}} projects use [vector index mode](elasticsearch://reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-vectordb-document-mode) only. [Time series index mode](/manage-data/data-store/data-streams/time-series-data-stream-tsds.md) and [LogsDB index mode](/manage-data/data-store/data-streams/logs-data-stream.md) are not supported. Use the Elasticsearch project type for those workloads. Data streams are supported when their backing indices use vector index mode. | ||
| ::: |
There was a problem hiding this comment.
Per Liam’s suggestion, we might want to clarify when to use an Elasticsearch project with the vector profile instead of the Vector Database project type.
In When to use this project type, we could add something like this:
If your workload requires the Elasticsearch project type, you can use the API’s
optimized_foroption to select thegeneral_purposeprofile for most search workloads or thevectorprofile for uncompressed, high-dimensional dense-vector workloads. The vector profile is an Elasticsearch project configuration and is distinct from the Vector Database project type.For profile behavior, VCU allocation, and cost details, refer to Project subtype or profile.
There was a problem hiding this comment.
I didn't even know about this profile! 🤯 Thanks, Liam! I think this is an important one to get right and we will need some guidance and review from Eng and the PMs, so let's address this in a follow-up PR after this one merges.
There was a problem hiding this comment.
The vector profile on ES3 probably won't be around much longer.
|
|
||
| Choose the [{{es}} project type](/solutions/elasticsearch-solution-project.md) when you need general-purpose data storage and search, including mixed lexical, time series, and analytics workloads, {{kib}} search tooling such as [Query Rules UI](/solutions/elasticsearch-solution-project/query-rules-ui.md) and [Agent Builder](/explore-analyze/ai-features/elastic-agent-builder.md), or the ability to run custom models on ML nodes. You might also prefer the {{es}} project type if you are an existing {{es}} or OpenSearch user. | ||
|
|
||
| | Use case | Fit | Why | |
There was a problem hiding this comment.
I wouldn't want to call VDB as ES stripped down. Instead we should think of it as targeted.
|
|
||
| :::{note} | ||
| {{vectordb}} projects use [vector index mode](elasticsearch://reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-vectordb-document-mode) only. [Time series index mode](/manage-data/data-store/data-streams/time-series-data-stream-tsds.md) and [LogsDB index mode](/manage-data/data-store/data-streams/logs-data-stream.md) are not supported. Use the Elasticsearch project type for those workloads. Data streams are supported when their backing indices use vector index mode. | ||
| ::: |
There was a problem hiding this comment.
The vector profile on ES3 probably won't be around much longer.
florent-leborgne
left a comment
There was a problem hiding this comment.
LGTM - not fully tested - code review only with mostly nits
| navigation_title: Vector Database project | ||
| navigation_title: "{{vectordb}} project" | ||
| applies_to: | ||
| serverless: ga |
There was a problem hiding this comment.
| serverless: ga | |
| serverless: | |
| vectordb: ga |
shouldn't those be like this?
There was a problem hiding this comment.
I wanted to keep the same parallel structure as the other solutions overview pages, where the two main dimensions are serverless (ga) and stack (in this case unavailable). The child pages are marked as vectordb: ga
| @@ -1,17 +1,90 @@ | |||
| --- | |||
| navigation_title: Vector Database project | |||
| navigation_title: "{{vectordb}} project" | |||
There was a problem hiding this comment.
I have a doubt that substitutions work in frontmatter. Last I checked it was not the case
There was a problem hiding this comment.
This is a YAML thing (when you use { it expects you to map a key value), and you can work around it by quoting it. Double quotes makes the value a string scalar that docs-builder later resolves to whatever sub you've defined.
It seems to work in the preview.
There was a problem hiding this comment.
Confirmed it works as the pages are now live! I learned that from Claude btw, just in case you thought I was very clever or something 😅
| | Setting | Description | Project Type | | ||
| | :--- | :--- | :--- | | ||
| | **Search Power** | Search Power controls the amount of baseline resources kept ready for your data and the maximum amount of resources the system can allocate to your project under high search load.<br><br>Increase **Search Power** to add resources for improved query throughput and performance as load increases. Decrease it to reduce the amount of provisioned resources, which lowers both active search costs and the reduced rate billed during idle periods, at the cost of more variable query latency. The On-demand setting provides the lowest baseline and idle cost.<br><br>Choose from three Search Power settings:<br><br>**On-demand:** Low cost option. Query latency is variable and maximum throughput is limited, particularly during demand spikes.<br><br>**Performant:** Delivers low _average_ query latency with no practical query throughput limits to meet varying demand.<br><br>**High availability:** Maintains consistent low query latency across most search workloads, from steady baseline to peak demand.<br> | {{es}} | | ||
| | **Search Power** | Search Power reserves search capacity for your project. Unlike {{es}} projects, capacity is not scaled automatically based on query load.<br><br>The default value is **100**, which reserves enough capacity to keep the project's entire data set available for low-latency search. You can increase Search Power in increments of 100 to reserve additional capacity for the same data set, which can improve performance for higher query concurrency or more demanding search loads. Higher values reserve proportionally more capacity: for example, **200** reserves about twice the capacity of **100**. You can increase Search Power up to **1900**.<br> | {{es}} {{vectordb}} | |
There was a problem hiding this comment.
nit or for later: looks a bit strange/non-optimal to have the applicable project type as the last column
There was a problem hiding this comment.
slightly related: Shaina opened this issue and also was suggesting in another comment that we can maybe remove Search Power from that table into its own section maybe.
There was a problem hiding this comment.
Maybe not in scope here but are you planning to update this page? https://www.elastic.co/docs/reference/integrations/serverless-support
There was a problem hiding this comment.
Oh wow, I'd need to update it, thanks. Can you point me to the correct repo for that, please?
There was a problem hiding this comment.
wondering if we could rather put those in the icon library in docs-builder?
There was a problem hiding this comment.
Shaina had a similar comment about using images in tables, so I'll open a separate issue to maybe replace them with applies_to tags. For the time being, I just followed whatever pattern was already used on the pages.
There was a problem hiding this comment.
## Summary - Add the Vector Database project type and exact value to cross-project search tag guidance. - Clarify the Elasticsearch and Vector Database project choices in the Search getting-started flow. - Distinguish Elasticsearch Serverless API profiles from the dedicated Vector Database project type using tabs. - Recommend the Vector Database project type for embedding-driven workloads on the vector search landing page. This draft follows the project positioning introduced in #7961. Open product questions are listed in a separate PR comment. --------- Co-authored-by: Cursor <[email protected]>
Summary
Closes #1413
What's new
What's changed
Related to #7923
Generative AI disclosure
Tool(s) and model(s) used: Used Cursor's Auto agent to surface pages that needed updates.