Syntax
Description
Use setDocText to provide text associated with the input document, to highlight hits in data as it was passed through the DataSource API's getDocText method during indexing. DocText content is always interpreted as plain text. Data in a format that includes tags, such as HTML or RTF, should be passed through DocBytes.