user2226750
user2226750

Reputation: 1

Creating _analyzer mapping to use document field mapping using NEST (elastic search)

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

Answers (1)

Martijn Laarman
Martijn Laarman

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

Related Questions