Module: google.appengine.api.search.search_util

Provides utility methods used by modules in the FTS API stub.

Classes

class UnsupportedOnDevError: Indicates attempt to perform an action unsupported on the dev server.

Functions

AddFieldsToDocumentPb(...): Add the id and fields to document.

ConvertToNfkd(...)

DeserializeDate(...)

EpochTime(...): Returns millisecond epoch time for a date or datetime.

GetAllFieldInDocument(...): Find and return all fields with the provided name in the document.

GetFieldCountInDocument(...)

GetFieldInDocument(...): Find and return the field with the provided name and type.

RemoveAccents(...)

RemoveAccentsNfkd(...)

Repr(...): Generates an unambiguous representation for instance and ordered dict.

SerializeDate(...)

TreeRepr(...): Generate a string representation of an ANTLR parse tree for debugging.

BASE_DATE Instance of google.appengine.ext.db.DateTimeProperty.data_type
DEFAULT_MAX_SNIPPET_LENGTH 160
EXPRESSION_RETURN_TYPE_NUMERIC 2
EXPRESSION_RETURN_TYPE_TEXT 1
NUMBER_DOCUMENT_FIELD_TYPES [4]
TEXT_DOCUMENT_FIELD_TYPES [2, 0, 1, 6, 7]
TEXT_QUERY_TYPES [13, 32]