The name of the field. Field names must have maximum length
MAXIMUM_FIELD_NAME_LENGTH and match pattern "[A-Za-z][A-Za-z0-9_]*".
value
The value of the field which can be a str, unicode or date.
language
The ISO 693-1 two letter code of the language used in the value.
See http://www.sil.org/iso639-3/codes.asp?order=639_1&letter=%25 for a
list of valid codes. Correct specification of language code will assist
in correct tokenization of the field. If None is given, then the
language code of the document will be used.
Raises
TypeError
If any of the parameters have invalid types, or an unknown
attribute is passed.
ValueError
If any of the parameters have invalid values.
Attributes
language
Returns the code of the language the content in value is written in.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-26 UTC."],[[["This class, `google.appengine.api.search.Field`, represents a field within a document, and should not be directly instantiated."],["Field names must adhere to specific length and pattern requirements, and their values can be of type string, unicode, or date."],["The `language` argument specifies the ISO 693-1 two-letter code of the field's value language, assisting in correct tokenization."],["The class provides attributes like `language`, `name`, and `value` to access the field's properties, as well as methods `__eq__` and `__ne__` for comparison."],["The class defines various class variables such as ATOM, DATE, GEO_POINT, HTML, NUMBER, TEXT, TOKENIZED_PREFIX, UNTOKENIZED_PREFIX, and VECTOR."]]],[]]