I would like to know the way to add a custom analyzer as an attribute which will allow me to automap instead of manual mapping in elastic search nest client 2.x
Example: I have a model
public class Employee {
[String]
public string FName {get; set;}
[String(Analyzer = "my_analyzer")]
public string EmployeeId { get; set; }
}
Where do I define my_analyzer so that it can be auto mapped?