Created
June 14, 2016 11:05
-
-
Save etianen/50e2073a451484408d47a9460cbe7965 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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