[Elasticsearch NEST] Unable to define language for collate queries

I'm using NEST/ElasticSearch 5.4 and I am trying to write a NEST object which uses collate.
Basically i want to have json something like this:

 "collate": {
      "query": {
        "lang" : "my_own_language",
        "inline" : "my_scripting_code"

Elasticsearch version:5.4

But, when i try to build a NEST object for above query, I am unable to add "Lang'' node for collate query.

 .Collate(c => c
              .Query(q => q

Adding .Lang("my_own_language") throws error.
Is there any way to add language type for collate queries?


1 Like

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