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.api.search.search.TextField Class Reference
Inheritance diagram for google.appengine.api.search.search.TextField:
google.appengine.api.search.search.Field

Public Member Functions

def __init__
 
- Public Member Functions inherited from google.appengine.api.search.search.Field
def __init__
 
def name
 
def language
 
def value
 
def __repr__
 
def __eq__
 
def __ne__
 
def __hash__
 
def __str__
 

Detailed Description

A Field that has text content.

The following example shows a text field named signature with Polish content:
  TextField(name='signature', value='brzydka pogoda', language='pl')

Constructor & Destructor Documentation

def google.appengine.api.search.search.TextField.__init__ (   self,
  name,
  value = None,
  language = None 
)
Initializer.

Args:
  name: The name of the field.
  value: A str or unicode object containing text.
  language: The code of the language the value is encoded in.

Raises:
  TypeError: If value is not a string.
  ValueError: If value is longer than allowed.

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