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

Classes

class  Query
 

Public Member Functions

def SearchableProperties
 
def from_entity
 
def all
 
- Public Member Functions inherited from google.appengine.ext.db.Model
def __new__
 
def __init__
 
def key
 
def put
 
def delete
 
def is_saved
 
def has_key
 
def dynamic_properties
 
def instance_properties
 
def parent
 
def parent_key
 
def to_xml
 
def get
 
def get_by_key_name
 
def get_by_id
 
def get_or_insert
 
def all
 
def gql
 
def from_entity
 
def kind
 
def entity_type
 
def properties
 
def fields
 

Additional Inherited Members

- Static Public Attributes inherited from google.appengine.ext.db.Model
 save = put
 

Detailed Description

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.

Override SearchableProperties() to define properties to index and/or multiple
indexes (see the file's comment).

Member Function Documentation

def google.appengine.ext.search.SearchableModel.all (   cls)
Returns a SearchableModel.Query for this kind.
def google.appengine.ext.search.SearchableModel.from_entity (   cls,
  entity 
)
Wraps db.Model.from_entity() and injects SearchableEntity.

The documentation for this class was generated from the following file: