Hi,
I ran this query successfully from the atlas search portal - uploadDate is a date type, found in all records:
[
{
$search: {
compound: {
must: [
{
compound: {
must: [
{
text: {
query: "group",
path: "documentGroupId",
},
},
{
range: {
path: "uploadDate",
gt: {
$date:
"2023-08-14T00:00:00Z",
},
},
},
],
},
},
],
},
index: "default",
},
},
]
when trying to run it in compass on the same database, I get this error:
mongot returned an error :: caused by :: “compound.must[0].compound.must[1].range.gt.type” is required
what does this error mean and how do I resolve it?