-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: django
-
None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Context
Search support is now available in MongoDB Community Edition so we should confirm it works in Django MongoDB Backend.
Definition of done
Confirm ./runtests.py --settings=test_mongo search_ works with MongoDB 8.2 or later Community Edition.
Pitfalls
It requires a local Atlas deployment. When you try to run collection.list_search_indexes() (which is the command for our backend's DatabaseFeatures.supports_search flag), the error is: "Using Atlas Search Database Commands and the $listSearchIndexes aggregation stage requires additional configuration. Please connect to Atlas or an AtlasCLI local deployment to enable. For more information on how to connect, see https://dochub.mongodb.org/core/atlas-cli-deploy-local-reqs." Without a local Atlas deployment, the tests are skipped because search isn't supported.