NEST - Empty ReverseNested


(Ben G) #1

im trying to create the following reversenested aggregate:-

 "attributetotal": {
          "reverse_nested": {}
  }

which works fine in cerebro, with the following:-

.ReverseNested("attributecount", r => r)

but it gets ignore in the Json sent.

I'm guessing you have to specify aggs within the reverse.

How can I achieve an empty ReverseNested aggregate?

Thanks


(Ben G) #2

ignore this. it works as expected.


(system) #3

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