We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f19022 commit b70545dCopy full SHA for b70545d
source/atlas-search.txt
@@ -69,10 +69,11 @@ The query also includes a:
69
.. input::
70
:language: python
71
72
- client = pymongo.MongoClient('<connection-string>')
73
- result = client['sample_mflix']['movies'].aggregate([
+ client = pymongo.MongoClient("<connection-string>")
+ result = client["sample_mflix"]["movies"].aggregate([
74
{
75
"$search": {
76
+ "index": "pymongoindex",
77
"phrase": {
78
"path": "title",
79
"query": "new york"
0 commit comments