Missing Value option NEST


#1

Hi,

I am currently trying to get data using aggregation based on a nullable date field. I am using NEST API with C#. Doing this using the low-level client it was possible to get the nullable items in a separate bucket using the missing option.

"aggs":{
"top_tags":{
  "date_range":{
    "field" : "expiryDate",
    "missing": "1899-01-01",
    "ranges":[
      {
        "key": "MissingExpiry",
        "to":  "2000-01-01"
      }

In the NEST API this seems to be missing. In the sense that to get the nullable values a separate aggregation has to be used. Is the feature supported or is it typical to do something else in these situations.


(system) #2

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