Parameters | Description |
fromIndex | Integer Specifies the starting index of the page of search results. Zero represents the first index of the result set. |
toIndex | Integer Indicates the end of the search results indexed on the page. The toIndex must be greater than the fromIndex and less than or equal to the total result count |
searchEngineType | String Optional. Specifies the search engine to use when searching for tasks. The default values are: db - for services that search task data, stored in the indexed table of the My webMethods Server database. hpstra - for services that search in HPSTRA-enabled task data. You can also specify the name of any custom engine that you develop for task searches and register as an OSGi service in the My webMethods Server runtime. For more information and examples about adding custom task search engines, see the Software AG TECHcommunity website. |
sortBy | String Optional. Specifies the comma-separated list of field names used to sort the search results. The first entry is the primary sort key, second entry is the secondary sort key, matching the results to the order of the sort key sequence. When specifying indexed field names, you must provide the database index field name. To determine the value of the database index field name, see pub.task:TaskSearchQueryTerm. |
sortOrder | String Optional. Specifies the comma-separated list of values ascending (ASC) or descending (DESC) that match the sortBy list of fields. sortOrder indicates the sort order used to list the fields, ascending or descending order. Set sortBy to: ASC to display the results in ascending order. DESC to display the results in descending order. The default sortOrderis ascending (ASC). |