Hello, I am trying to get a list of items that have more than one manufacturer using the following json facet query. This works fine without mincount, but errors out as soon as I add it.
Is this possible or am I doing something wrong?
json.facet={
groupID: {
type: terms,
field: groupID,
facet:{ y: "unique(mfr)",
mincount: 2}
}
}
Error:
"error": { "msg": "expected Map but got 2 ,path=facet/groupID", "code": 400
}
Thanks in advance
