Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pymongo create index

collection.create_index([('field_i_want_to_index', pymongo.TEXT)], name='search_index', default_language='english')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pymongo #create #index
ADD COMMENT
Topic
Name
4+7 =