Document index name limitations#30826
Merged
polyfractal merged 2 commits intoelastic:masterfrom May 25, 2018
Merged
Conversation
Also tidy up the docs a bit, there's no yaml example anymore, etc
Collaborator
|
Pinging @elastic/es-core-infra |
dakrone
approved these changes
May 23, 2018
| - Indices prior to 7.0 could contain a colon (`:`), but that's been deprecated and won't be supported in 7.0+ | ||
| - Cannot start with `-`, `_`, `+` | ||
| - Cannot be `.` or ``..` | ||
| - Cannot be longer than 255 characters |
Member
There was a problem hiding this comment.
this is actually 255 bytes, so multi-byte characters could count towards multiple bytes
Contributor
Author
There was a problem hiding this comment.
Ah good catch. Fixing
polyfractal
pushed a commit
that referenced
this pull request
May 25, 2018
Also tidy up the docs a bit, there's no yaml example anymore, etc
jasontedor
added a commit
to jasontedor/elasticsearch
that referenced
this pull request
May 25, 2018
* elastic/master: Do not serialize basic license exp in x-pack info (elastic#30848) Change BWC version for VerifyRepositoryResponse (elastic#30796) [DOCS] Document index name limitations (elastic#30826) Harmonize include_defaults tests (elastic#30700) [TEST] Mute {p0=snapshot.get_repository/10_basic/Verify created repository} YAML test
jasontedor
added a commit
to jasontedor/elasticsearch
that referenced
this pull request
May 25, 2018
…ster * elastic/master: Do not serialize basic license exp in x-pack info (elastic#30848) Change BWC version for VerifyRepositoryResponse (elastic#30796) [DOCS] Document index name limitations (elastic#30826) Harmonize include_defaults tests (elastic#30700) [TEST] Mute {p0=snapshot.get_repository/10_basic/Verify created repository} YAML test
dnhatn
added a commit
that referenced
this pull request
May 28, 2018
* master: silence InstallPluginCommandTests, see #30900 Remove left-over comment Fix double semicolon in import statement [TEST] Fix minor random bug from #30794 Include size of snapshot in snapshot metadata #18543, bwc clean up (#30890) Enabling testing against an external cluster (#30885) Add public key header/footer (#30877) SQL: Remove the last remaining server dependencies from jdbc (#30771) Include size of snapshot in snapshot metadata (#29602) Do not serialize basic license exp in x-pack info (#30848) Change BWC version for VerifyRepositoryResponse (#30796) [DOCS] Document index name limitations (#30826) Harmonize include_defaults tests (#30700)
dnhatn
added a commit
that referenced
this pull request
May 28, 2018
* 6.x: Fix double semicolon in import statement [TEST] Fix minor random bug from #30794 Enabling testing against an external cluster (#30885) SQL: Remove the last remaining server dependencies from jdbc (#30771) Add public key header/footer (#30877) Include size of snapshot in snapshot metadata (#29602) QA: Test template creation during rolling restart (#30850) REST high-level client: add put ingest pipeline API (#30793) Do not serialize basic license exp in x-pack info (#30848) [docs] explainer for java packaging tests (#30825) Verify signatures on official plugins (#30800) [DOCS] Document index name limitations (#30826) [Docs] Add reindex.remote.whitelist example (#30828)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
We have a number of limitations on how indices can be named, but those limitations don't appear to be documented anywhere. This PR adds those limitations as a callout at the top of the CreateIndex API docs.
It also tidies the opening section a bit, removes reference to a yaml example that doesn't exist, etc.