Skip to content

Nested mapping attribute and descriptor incorrectly accept "Store" property #5174

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

Closed
stevejgordon opened this issue Dec 14, 2020 · 3 comments

Comments

@stevejgordon
Copy link
Contributor

NEST/Elasticsearch.Net version: 7.10.1

Elasticsearch version: 7.10.0

Description of the problem including expected versus actual behavior:
When using attribute mappings to define a Nested type, the attribute accepts a Store property. Elasticsearch returns an error when attempting such a mapping. We should evaluate removing this property given that it is not supported and also check that it's removed from the fluent mapping also. This is

This relates to the discussion in #5170

Steps to reproduce:

  1. Create a type which includes a Nested attribute for one of the properties.
  2. Include Store = true in the attribute
  3. Elasticsearch will return an error - "Mapping definition for [field] has unsupported parameters: [store : true]"

Expected behavior
NEST should not offer the store property for nested field mappings.

@russcam
Copy link
Contributor

russcam commented Dec 16, 2020

Related: #3145

@stevejgordon
Copy link
Contributor Author

Thanks @russcam 👍

@stevejgordon
Copy link
Contributor Author

Attribute mappings are no longer supported for v8.

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

No branches or pull requests

2 participants