We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e14384 commit 6b063f7Copy full SHA for 6b063f7
pydatalab/scripts/create_mongo_text_index.py
@@ -0,0 +1,9 @@
1
+from pymongo import MongoClient
2
+
3
+from pydatalab.config import CONFIG
4
5
+client = MongoClient(CONFIG.MONGO_URI)
6
7
+db = client.datalabvue
8
9
+response = db.items.create_index([("$**", "text")])
0 commit comments