Hacker News new | ask | show | jobs
by earle 6521 days ago
db.search.SearchableModel

class SearchableModel(db.Model):

"""A subclass of db.Model that supports full text search and indexing. Automatically indexes all string-based properties. To search, use the all() method to get a SearchableModel.Query, then use its search() method.

"""