There is no example in the document of range and filter with queryString. so, I am looking for a solution where I can apply range, filter and queryString in Atlas search query.
Could you please guide me how can I add filter and range (daterange) in below query ?
db.movies.aggregate([
{
$search: {
"queryString": {
"defaultPath": "fullplot",
"query": "plot:(captain OR kirk) AND enterprise"
}
}
}
])