XML document HTTP handler

This handler returns the text from an indexed document in an XML format compliant with its XSD, available in the install_location/OmniQ/config/xsd/Document.xsd file.

In a default installation of Sybase Search, the XML handler and its XSD handler are available in the following directories, respectively:

The handler accepts the following parameters shown in Table 4-2.

Table 4-2: XML document HTTP handler parameters

Parameter

Description

address

The document address of the document to fetch as XML. The document address format is <DSM-ID>-<DS-ID>-<DOC-ID> (Document Store Manager ID, document store ID, and document ID).

useParagraphs

When this parameter is true, the body text of the document is broken into paragraphs and formatted between extra paragraph XML tags.

If set to false, the entire body text is returned in a large, unbroken block.