VOID expressions return no value but are used to perform other work. The VOID CONVERTTOTEXT expression extracts document content, converts it to text, and assigns the text to a record.

This expression is available as part of the optional Document Conversion Module. Recall that the RETRIEVE_URL expression fetches a document's content and writes the content to a file. The Endeca.Document.Body property stores the absolute path of the file that contains the document's content. CONVERTTOTEXT read the path and converts the content of the indicated file to text. The text is then assigned to a record as a property with the name Endeca.Document.Text. If the expression fails, a warning is logged, and the property is not assigned to the record.

The following optional expression nodes modify the behavior of VOID CONVERTTOTEXT:

See the EXPRESSION element for DTD and attribute information.


Copyright © Legal Notices