google.appengine.api.search.TokenizedPrefixField

A field that matches searches on prefixes of its individual terms.

Inherits From: Field, expected_type

The following example shows a tokenized prefix field named title: TokenizedPrefixField(name='title', value='Goodwill Hunting')

name The name of the field.
value The tokenized prefix field value.
language The code of the language the value is encoded in.

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

language Returns the code of the language the content in value is written in.
name Returns the name of the field.
value Returns the value of the field.

Methods

__eq__

View source

Return self==value.

__ne__

View source

Return self!=value.

ATOM 'ATOM'
DATE 'DATE'
GEO_POINT 'GEO_POINT'
HTML 'HTML'
NUMBER 'NUMBER'
TEXT 'TEXT'
TOKENIZED_PREFIX 'TOKENIZED_PREFIX'
UNTOKENIZED_PREFIX 'UNTOKENIZED_PREFIX'
VECTOR 'VECTOR'