Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
self.client.create_index([TextField('body', weight=1),
TextField('repo_name', weight=1.5),
TextField('language', weight=1),
TagField('lists')], definition=definition)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment