public void TestFuzzLikeTextQuery()
{
string textType = "text_flt";
var typeSetting = new TypeSetting(textType);
typeSetting.AddStringField("message").Analyzer="standard";
client.PutMapping(index, typeSetting);
client.Refresh();
var dict = new Dictionary<string, object>();
dict["message"] = "the quick brown fox jumped over thelazy dog";
var op= client.Index(index, textType, "text_k1", dict);
Assert.True(op.Success);
client.Refresh();
var flt = new FuzzyLikeThisQuery("message", "lazy dob");
var result= client.Search(index, textType, flt);
Assert.AreEqual(1,result.GetTotalCount());
flt = new FuzzyLikeThisQuery("message", "lazy cat");
result = client.Search(index, textType, flt);
Assert.AreEqual(0, result.GetTotalCount());
}