Reputation: 1
How to create a _analyzer mapping using NEST client API for elastic search to allow document field property as analyzer as in ES documentation here:
http://www.elasticsearch.org/guide/reference/mapping/analyzer-field/
Thanks in advance. I might have missed this in NEST documentation.
Upvotes: 0
Views: 795
Reputation: 13536
The mapping documentation on http://nest.azurewebsites.net is a bit behind.
Have a look at this unit test: https://github.com/Mpdreamz/NEST/blob/master/src/Nest.Tests.Unit/Core/Map/FluentMappingFullExampleTests.cs
For a full example of the mapping API.
Upvotes: 2