I have a query where I need to use atlasseach $searchMeta using facet in string Facet but it only returns 1000 results where I need a maximum of 3000, any solution?
[{
$searchMeta: {
index: "default",
facet: {
operator: {
compound: {
filter: [
{
text: {
query: "test",
path: "access",
},
}
}
},
facets: {
typeFacet: { type: "string", path: "type", "numBuckets": 1000 },
gsFacet: { type: "number", path: "gscore", boundaries: [0, 1, 2, 3, 4, 5, 6] }
}
},
}
},
]