ExecQuery

Query the library manager for content based full text search.

Syntax

<generic data manager handle> ExecQuery <query string> <content interface list>

Type/Class

Query

Description

Query the library manager for content based full text search. Searches all the metadata and the contents of the files in the library.
generic data manager handle
Generic data manager handle
query string
String to query in the library
content interface list
Content interface list handle
Note: The result of the query will be passed to the content interface handle. The size of the content interface list will give the size of the returned list. Refer to the example below. To check if the query was successful or failed use the command hwLMStatus_GetMessage.

Examples

set gdm [DMDirector_OpenWorkspace $director $ws $repoh 0]
set qryhandle [$gdm GetQuery]
set stringtosearch "MS6000"
set clist [ContentInterfaceList]
set status [$gdm ExecQuery $stringtosearch $clist]
set cilistsize [ContentInterfaceList_size $clist]