A subclass of datastore.Query that supports full text search.
Only searches over entities that were created and stored using the
SearchableEntity or SearchableModel classes.
def google.appengine.ext.search.SearchableQuery.GetFilterPredicate |
( |
|
self, |
|
|
|
args, |
|
|
|
kwds |
|
) |
| |
Adds filters for the search query, then delegates to the superclass.
Mimics Query.GetFilterPredicate()'s signature. Raises BadFilterError if a
filter on the index property already exists.
Returns:
datastore_query.FilterPredicate
def google.appengine.ext.search.SearchableQuery.Search |
( |
|
self, |
|
|
|
search_query, |
|
|
|
word_delimiter_regex = None , |
|
|
|
properties = ALL_PROPERTIES |
|
) |
| |
Add a search query. This may be combined with filters.
Note that keywords in the search query will be silently dropped if they
are stop words or too short, ie if they wouldn't be indexed.
Args:
search_query: string
Returns:
# this query
SearchableQuery
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/ext/search/__init__.py