ElasticSearch Low Level with LTR plugin Client .Net

I have installed ElasticSearch 6.1.2 and also installed ltr plugin...
And when I am executing below query, it returned following error.

Note: hotels is index name

var searchResponse = lowlevelClient.Search("hotels", @"
""query"": {
""multi_match"": {
""query"": ""hotel"",
""fields"": [""name"", ""address""]
}
},
""rescore"": {
""query"": {
""rescore_query"": {
""sltr"": {
""params"": {
""keywords"": ""hotel""
},
""model"": ""8"",
}
}
}
}");

Error in Response

"Expected [START_OBJECT] but found [VALUE_STRING]"

What version of Elasticsearch.Net are you using?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.