Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pymongo search text

def search_for_videos(search_text):
    collection.find({"$text": {"$search": search_text}}).limit(10)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pymongo #search #text
ADD COMMENT
Topic
Name
4+1 =