def _get_query(self):
      query = db.Query._get_query(self,
                                  _query_class=SearchableQuery,
                                  _multi_query_class=SearchableMultiQuery)
      if self._search_query:
        query.Search(self._search_query, properties=self._properties)
      return query
Wraps db.Query._get_query() and injects SearchableQuery.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/search/__init__.py/SearchableModel.Query._get_query