I want to implement full text search and tokenized search with NEST, so I want to get multifield like that :
\"tweet\": {
\"properties\": {
Checkout this answer.
Basically, you could do something like this:
client.CreatIndex("tweets", c => c
.AddMapping<Tweet>(m => m
.MapFromAttributes()
.Properties(props => props
.MultiField(mf => mf
.Name(t => t.Message)
.Fields(fs => fs
.String(s => s.Name(t => t.Message).Analyzer("standard"))
.String(s => s.Name(t => t.Message.Suffix("raw")).Index(FieldIndexOption.not_analyzed)))))));