Corresponding GetResponse class contains fields Type, Index and so on but doesn't contain field for _ttl. GetResponse.Fields also doesn't contain _ttl field even if _ttl was included in fields parameter of the request.
I'm using NEST 2.4. In the NEST 1.x _ttl field was in the .FieldsValues.
I know about deprecation of _ttl field and the ways to avoid using _ttl. However, the field is still returned in the response and setting TTL is still supported by ES and NEST. Also, _ttl field exists in IHit. Shouldn't it be in the GetResponse too?
In the meantime, you can work around this by deserializing the response yourself using the lowlevel client, defining a type that has the missing metafields. Let me know if you need some pointers here and I can drum up an example.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.