Closed
Description
NEST/Elasticsearch.Net version:
7.0.0/7.0.0
Elasticsearch version:
7.2.0
Description of the problem including expected versus actual behavior:
TypeMappingDescriptor still has the AllField method even though using it results in a 400 when creating an index. The method should maybe have been marked Obsolete in the 6.X version and removed in 7.X.
Steps to reproduce:
- Define a CreateIndexDescriptor and in the Map section set AllField to disabled
- Attempt to create the index.
var testDescriptor = new CreateIndexDescriptor("test")
.Map(m => m
.AllField(af => af.Enabled(false))
.AutoMap());
var result = this.client.Indices.Create(testDescriptor);
Provide DebugInformation
(if relevant):
Root mapping definition has unsupported parameters: [_all : {enabled=false}]
Metadata
Metadata
Assignees
Labels
No labels