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

Please deprecate / remove IndexName #2293

Closed
niemyjski opened this issue Sep 28, 2016 · 2 comments
Closed

Please deprecate / remove IndexName #2293

niemyjski opened this issue Sep 28, 2016 · 2 comments
Labels

Comments

@niemyjski
Copy link
Contributor

    public override TypeMappingDescriptor<Identity> BuildMapping(TypeMappingDescriptor<Identity> map) {
            return map
                .Dynamic(false)
                .Properties(p => p
                    .Keyword(f => f.Name(e => e.Id).IndexName(Fields.Id))
                );
        }

Compiles perfectly fine but throws bad request when I try to create the mapping. I thought this was supposed to be removed / deprecated in 1.3

elastic/elasticsearch#6677

@gmarz
Copy link
Contributor

gmarz commented Sep 28, 2016

Good catch. We'll deprecate it in 2.x and remove in 5.x/master.

@gmarz gmarz added Bug labels Sep 28, 2016
@niemyjski
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants