App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.ext.search.SearchableQuery Class Reference
Inheritance diagram for google.appengine.ext.search.SearchableQuery:

Public Member Functions

def Search
 
def GetFilterPredicate
 

Detailed Description

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.

Member Function Documentation

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: