Hi, elasticsearch has this 3 registers in one indice:
{category:1,value:0}
{category:1,value:5}
{category:2, value:0}
I wanna do a search that returns registers that only have one ocurrency (group by) and this value should be 0. In exemple above it will be register 3 {category:2,value:0}.
How To do this ?