Hello! I am using elastic with nest for c#.I create analyzers on index time but on search time they don't work.
Here is my class
public class Car{
Text(Analyzer = "greek",SearchAnalyzer ="custom",Index = true,IncludeInAll = true)]
public string SERVICE_DESC { get; set; }
}
And here is my search query
var response = client.Search<Nosilia>(n => n
.Index(index)
.Type(type)
.Size(searchSize)
.From(0)
.TrackScores(true)
.Query(q => q
.Match(qs => qs
.Field(fieldsForSearchList[0])
.Analyzer("custom")
.Operator(Operator.And)
.Query("*"+searchWord+"*"))));
As I mentioned I have already created the two analyzers ("greek","custom")