[[["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 2025-06-16 UTC."],[[["\u003cp\u003e\u003ccode\u003eTextField\u003c/code\u003e represents a field with text content, inheriting from \u003ccode\u003eField\u003c/code\u003e and \u003ccode\u003eexpected_type\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a \u003ccode\u003ename\u003c/code\u003e and \u003ccode\u003evalue\u003c/code\u003e during initialization, optionally accepting a \u003ccode\u003elanguage\u003c/code\u003e parameter to specify the text's language.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextField\u003c/code\u003e constructor raises \u003ccode\u003eTypeError\u003c/code\u003e if the provided value isn't a string and \u003ccode\u003eValueError\u003c/code\u003e if it is longer than allowed.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextField\u003c/code\u003e objects have attributes to return their name, value, and language and also contain methods \u003ccode\u003e__eq__\u003c/code\u003e and \u003ccode\u003e__ne__\u003c/code\u003e to check for equality and inequality.\u003c/p\u003e\n"],["\u003cp\u003eSeveral Class Variables exist for \u003ccode\u003eTextField\u003c/code\u003e such as ATOM, DATE, GEO_POINT, HTML, NUMBER, TEXT, TOKENIZED_PREFIX, UNTOKENIZED_PREFIX, VECTOR.\u003c/p\u003e\n"]]],[],null,["# google.appengine.api.search.TextField\n\n\u003cbr /\u003e\n\nA Field that has text content.\n\nInherits From: [`Field`](../../../../google/appengine/api/search/Field), [`expected_type`](../../../../google/appengine/api/validation/Validator/expected_type)\n\n#### View aliases\n\n\n**Main aliases**\n\n\\`google.appengine.api.search.search.TextField\\`\n\n\u003cbr /\u003e\n\n google.appengine.api.search.TextField(\n name, value=None, language=None\n )\n\nThe following example shows a text field named signature with Polish content:\nTextField(name='signature', value='brzydka pogoda', language='pl')\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `__eq__`\n\n[View source](https://github.com/GoogleCloudPlatform/appengine-python-standard/tree/main/src/google/appengine/api/search/search.py#L1043-L1044) \n\n __eq__(\n other\n )\n\nReturn self==value.\n\n### `__ne__`\n\n[View source](https://github.com/GoogleCloudPlatform/appengine-python-standard/tree/main/src/google/appengine/api/search/search.py#L1046-L1047) \n\n __ne__(\n other\n )\n\nReturn self!=value.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]