Web service message operations

Table 4-11 describes the operations supported by the Sybase Search Web service.

Table 4-11: Web service operations

Name

Description

Query

Allows you to search indexed documents. This operation accepts query parameters and returns results.

GetCategories

Allows you to get a list of categories from a Sybase Search server. This operation does not accept any parameters and returns all the current categories.

GetDocumentGroups

Allows you to get all the documents from a Sybase Search server. This operation does not accept any parameters, and returns all the current document groups.

GetMetadata

Allows you to get all the metadata from a Sybase Search server. This operation does not accept any parameters, and returns all the current metadata groups.

GetRealDocument

Allows you to get a real (binary) document from a Sybase Search server. This operation accepts a document ID, and returns the binary content (encoded by base64) of the original document.

GetDocumentText

Allows you to get the plain text extracted from a document This operation accepts a document ID, and returns the text content of the original document. On the server side, returned text content is first encoded by UTF-8, and later encoded by base64.