Elasticsearch NEST library. Mapping root type name

I try use NEST library mapping functionality in a next way:

MappingsDescriptor mappingsDescriptor = new MappingsDescriptor();

		mappingsDescriptor.Map<**object**>(m => m
			.Properties(p => p
				.Keyword(k => k
					.Name(FilesetHit.Names.FilesetId)
					.IncludeInAll(false))
				.Number(n => n)
                                    ...

How can I set name for ROOT mapping type?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.