You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Full text search is only supported on the top level of the query object.',
' at MongoDriver.renameFields (/app/node_modules/@mikro-orm/mongodb/MongoDriver.js:118:19)',
' at MongoDriver.find (/app/node_modules/@mikro-orm/mongodb/MongoDriver.js:23:22)',
' at MongoEntityManager.find (/app/node_modules/@mikro-orm/core/EntityManager.js:112:41)',
' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)',
$fulltext
then error is thrown.
Stack trace
To Reproduce
A simple test case
Expected behavior
It should be possible to use full text search and use filters with Mongo driver.
Working example with Postgre:
I propose following:
$and
in top level and$fulltext
in any of its elements, move it to top level$fulltext
in$and
or top level already has one throw an errorThe text was updated successfully, but these errors were encountered: