TextField
The TextField structure contains the name, text content, and content type of a single text field. TextFields are used to submit text to the server Recognizers. They are also used to represent the content fields of a document.
- text
- Raw text of the field.
- contentType
- Valid content types are TEXT_PLAIN, TEXT_HTML, TEXT_TABULAR, and TEXT_TABULAR_TOPICS. Normal user input should be identified as TEXT_PLAIN, which is the default.
- name
Used when a TextField is used to represent a section of a document. When documents are loaded into the system, fields may be boosted differently based on their name. For example, the 'title' field is given higher priority.
- priority
Used when a TextField is used to represent a section of a document, or when multiple fields are submitted as a query.
