How can I filter vectors by date?
If I run a vectorSearch with following filter value:
filter = {"$and": [{"my_date_field": {"$lte": datetime.now()}}]}
then it returns me the following error:
```Operand type is not supported for $vectorSearch: date’, ‘code’: 7828301`
where my vector search index is as follow:
const vectorIndex = {
name: indexName,
definition: {
mappings: {
dynamic: false,
fields: {
embeddings: {
type: 'knnVector',
dimensions: 768,
similarity: 'cosine'
},
my_date_field: { type: 'date' },
}
}
}
}