Attaching to a collection using the rcvdk utility



To search a collection, you first must attach to it using the attach(a) command. This command must include the path to a collection directory as an argument. After you press Return, the rcvdk utility reports whether the attach command was successful; for example:

RC>a /z/doc1/c/public/Collection/file_walking/collbldg/html 
Attaching to collection: 
/z/doc1/c/public/Collection/file_walking/collbldg/html 
Successfully attached to 1 collection. 
RC>

The rcvdk utility lets you attach to one or more collections. The specified collections remain attached until you detach from one or more collections using the detach(d) command.

Basic searching

To retrieve all documents, use the search(s) command without arguments. After you press Return, a search update message is produced, as follows:

RC>s 
Search update: finished (100%). Retrieved: 85(85)/85. 
RC>

The search results indicate that 85 of the total 85 documents in the collection were retrieved. If you specify a query argument, such as “universal filter,” a subset of the total documents in the collection that contain the specified string is retrieved; for example:

RC>s universal filter 
Search update: finished (100%). Retrieved: 18(18)/85. 
RC>

In the message returned for the preceding search, the rcvdk utility indicates that 18 documents matched the query. You can perform more elaborate queries using the Verity query language, as shown in the following example:

RC>s universal filter <OR> filter.Troubleshooting and Maintenance Tools