Skip to content
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

Create index to support aliases #4920

Closed
javanna opened this issue Jan 28, 2014 · 0 comments · Fixed by #4923
Closed

Create index to support aliases #4920

javanna opened this issue Jan 28, 2014 · 0 comments · Fixed by #4923
Assignees
Labels
:Data Management/Indices APIs APIs to create and manage indices and templates >feature v1.1.0 v2.0.0-beta1

Comments

@javanna
Copy link
Member

javanna commented Jan 28, 2014

The create index api currently supports providing mappings, settings and warmers. It would be nice to be able to provide aliases as well in the same request, during index creation.

@ghost ghost assigned javanna Jan 28, 2014
javanna added a commit that referenced this issue Feb 17, 2014
It is now possible to specify aliases during index creation:

curl -XPUT 'http://localhost:9200/test' -d '
{
    "aliases" : {
        "alias1" : {},
        "alias2" : {
            "filter" : { "term" : {"field":"value"}}
        }
    }
}'

Closes #4920
javanna pushed a commit to javanna/elasticsearch that referenced this issue Mar 6, 2014
Adapted existing PR (elastic#2739) to updated code (post elastic#4920), added tests and docs (@javanna)

Closes elastic#1825
javanna pushed a commit that referenced this issue Mar 6, 2014
Adapted existing PR (#2739) to updated code (post #4920), added tests and docs (@javanna)

Closes #1825
javanna pushed a commit that referenced this issue Mar 6, 2014
Adapted existing PR (#2739) to updated code (post #4920), added tests and docs (@javanna)

Closes #1825
@clintongormley clintongormley added the :Data Management/Indices APIs APIs to create and manage indices and templates label Jun 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Indices APIs APIs to create and manage indices and templates >feature v1.1.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants