Full Text Query |
Scroll |
If indexing and full text query is enabled on your system you can launch a full text query looking for a specified string in the text body of all documents in a FullTextQuery-enabled Thereforeā¢ category.
Steps 1-3 teach you how to define and execute an TheFullTextQuery. The optional steps 4-7 illustrate some common ways to process the results of a full-text query.
1 |
Connect to the Thereforeā¢ server (see "Server - Connect and Disconnect" for Details) |
2 |
Declare and initialize a new TheFullTextQuery. |
3 |
Execute the query. |
4 |
Optional. Show full-text query and results |
5 |
Optional. Retrieve all documents and add them to a list. |
6 |
Optional. Show the index data for each document. |
7 |
Optional. Open the first document in the Thereforeā¢ Viewer |
Requirements and Assumptions: Indexing and FullTextQuery must be enabled and properly configured on your Thereforeā¢ system. Categories 5 and 9 exist in your Thereforeā¢ system and should contain at least one document containing the string "Therefore". If these assumptions do not apply to your system or configuration please replace them with appropriate values when copying the code samples below. |