I want the B field stored in Elasticsearch but never indexing. When I search for "Nash" I do not want to search within the B field. So the B field is not indexed in elastic.
[ElasticsearchType(Name = "ES6")]
public class ES6
{
public string A { get; set; }
public string B { get; set; }
}
elasticClient.IndexDocument(new ES6 { A = "John", B = "Nash" });
elasticClient.IndexDocument(new ES6 { A = "Nash", B = "John" });