-
Notifications
You must be signed in to change notification settings - Fork 106
Clarify index settings & APIs that are not available in serverless #1728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kunisen
wants to merge
5
commits into
main
Choose a base branch
from
kunisen-docpr-sdhe-9039
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
da40420
Update differences-from-other-elasticsearch-offerings.md
kunisen f6b6fe4
Update differences-from-other-elasticsearch-offerings.md
kunisen 0cd17dc
Update deploy-manage/deploy/elastic-cloud/differences-from-other-elas…
kunisen cbfb66a
Update deploy-manage/deploy/elastic-cloud/differences-from-other-elas…
kunisen abf2dc9
Merge branch 'main' into kunisen-docpr-sdhe-9039
kunisen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -162,7 +162,10 @@ These recommendations do not apply to indices using better binary quantization ( | |||||
|
||||||
## Available {{es}} APIs [elasticsearch-differences-serverless-apis-availability] | ||||||
|
||||||
Because {{serverless-full}} manages infrastructure automatically, certain Elasticsearch APIs are not available: | ||||||
In {{serverless-full}}, access is limited to a subset of {{es}} APIs, as Elastic manages the underlying infrastructure. These restrictions help maintain cluster stability, availability, and data integrity, ensuring reliable operation of Serverless projects. | ||||||
|
||||||
The following {{es}} APIs are not available in {{serverless-full}}: | ||||||
|
||||||
|
||||||
Infrastructure operations | ||||||
: * All `_nodes/*` operations | ||||||
|
@@ -201,7 +204,7 @@ Refer to the [{{es-serverless}} API reference](https://www.elastic.co/docs/api/d | |||||
|
||||||
## Available {{es}} settings [elasticsearch-differences-serverless-settings-availability] | ||||||
|
||||||
In {{serverless-full}} Elasticsearch projects, you can only configure [index-level settings](elasticsearch://reference/elasticsearch/index-settings/index.md). Cluster-level settings and node-level settings are fully managed by Elastic. | ||||||
In {{serverless-full}} {{es}} projects, configuration available to users is limited to certain [index-level settings](elasticsearch://reference/elasticsearch/index-settings/index.md), while Elastic manages cluster-level and node-level settings to maintain stability, availability, performance, and data integrity. These restrictions help ensure the reliability of Serverless projects. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
Available settings | ||||||
: **Index-level settings**: Settings that control how documents are processed, stored, and searched are available to end users. These include: | ||||||
|
@@ -219,6 +222,24 @@ Managed settings | |||||
* Shard allocation | ||||||
* Resource management | ||||||
|
||||||
When attempting to use an unavailable index setting, you'll receive this error: | ||||||
|
||||||
```json | ||||||
{ | ||||||
"error": { | ||||||
"root_cause": [ | ||||||
{ | ||||||
"type": "illegal_argument_exception", | ||||||
"reason": "Settings [xyz] are not available when running in serverless mode" | ||||||
} | ||||||
], | ||||||
"type": "illegal_argument_exception", | ||||||
"reason": "Settings [xyz] are not available when running in serverless mode" | ||||||
}, | ||||||
"status": 400 | ||||||
} | ||||||
``` | ||||||
|
||||||
## Learn more | ||||||
|
||||||
- [{{serverless-full}} roadmap](https://www.elastic.co/cloud/serverless/roadmap): See upcoming features and development plans for the Serverless platform | ||||||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this limited to elasticsearch projects? as far as I know, this applies to all project types because they all use elasticsearch as an underlying technology / you can always configure index settings
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I don't think so. IIUC, it should be long to Elasticsearch itself but not Elasticsearch project. (ES used in other project type also should follow this)
I get your point and I think we can just remove
Elasticsearch
(or {{es}}).cc @ppf2 for double check in case he has more insights.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 The ability to configure index settings and execute Elasticsearch APIs apply to all project types on Serverless, not just Elasticsearch (even though this tends to impact Elasticsearch project types more than other types).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding a suggestion to address this. Feel free to apply it when you are back from PTO @kunisen ;)