Skip to content

Instantly share code, notes, and snippets.

@etianen
Created June 14, 2016 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etianen/50e2073a451484408d47a9460cbe7965 to your computer and use it in GitHub Desktop.
Save etianen/50e2073a451484408d47a9460cbe7965 to your computer and use it in GitHub Desktop.
class YourSearchAdapter(watson.SearchAdapter):
def get_title(self, obj):
return super().get_title(obj).lower()
def get_description(self, obj):
return super().get_description(obj).lower()
def get_content(self, obj):
return super().get_content(obj).lower()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment