A text search query enables you to search for words or phrases in selected sources, nodes, sets and/or annotations.
Text search queries can provide a quick way of coding your sources—you can search for words in a document and code each occurrence at a specific node. For example, you could code each occurrence of fun at the node enjoyment . To code the words or paragraph around the search word, use the Spread Coding option on the Query Options tab.
To create a text search query:
In Navigation View, click on Queries.
On the Main toolbar, click the New button:
| |
|
Click the Text Search Query in This Folder option.
The Text Search Query dialog box is displayed.
Enter search text and other criteria in the Text Search Criteria tab
Option |
Description |
||||
|
|||||
Search for |
Enter the words you want to search for—enjoyfun will find all items that contain enjoy or fun. To find a phrase use double quotes "social interaction". You can also use special characters and boolean operators to refine the search. The search is not case-sensitive—the combination of upper and lower case letters does not matter. |
||||
Search In |
Select whether you want to search in text and/or annotations. |
||||
Of |
Select the project items you want to search. To search for specific items:
The Select Project Items dialog box is displayed.
Select All button to automatically select items matching the criteria. Click the
To search for items in selected folder:
|
||||
Where |
Search in items that were created or modified by selected users. To select specific users:
The Select Project Items dialog box is displayed.
|
||||
Stemmed Search |
Check the box to conduct a 'stemmed' search. A stemmed search enables you to find words with the same 'stem' as the word entered in the Search for field. For example, a stemmed search on Connect will find:
|
||||
|
If you want to save the query, click the Add to Project checkbox at the top of the dialog. Enter a name and description in the General tab
Option |
Description |
|
|
Query type |
Displays the type of query you are creating. You cannot change the contents of this field. |
Name |
Enter a name for the query. |
Description |
If required, enter a description of the query. |
Location |
Displays the folder that contains the query. You cannot change the contents of this field. |
Created |
Displays the date and time the query was created. You cannot change the contents of this field. |
Modified |
Displays the date and time the query was last modified. You cannot change the contents of this field. |
Determine how the query results are stored in the Query Options tab
Option |
Description |
||||||||||||
|
|||||||||||||
Option |
From the drop-down list, select how you would like to save the results of the query:
|
||||||||||||
Location |
If you are saving the results as a new node, click the Select button to define the location. For example, to save the results as a new free node, select the Free Nodes folder. |
||||||||||||
Name |
If you are saving the results as a new node or set, enter a name for the new item. If you are merging the results into an existing node or set, click the Select button and choose the destination item. Its name is displayed in the Name field. |
||||||||||||
Description |
If required, enter a description for the new node or set. |
||||||||||||
Spread to |
Refer to Spread Coding to the Context for more information. |
||||||||||||
Open results |
Click this checkbox to display the query results in Detail View. This option is only available if results are saved as a node. |
||||||||||||
Create results if empty |
If the query does not return any results, click this option if you want to create an 'empty' node regardless. This option is only available if you have chosen to save the results as a new node, set or node hierarchy. |
To save the query properties without running the query, click OK.
To run the query, click the Run button.
Right-click:
|
When you preview the results of a text search, items are displayed with a Relevance percentage—a common ranking technique used by internet search engines. The relevance ranking indicates the 'best match' for the scope and criteria you have defined and is derived from:
The relevance weighting defined for a word (use the Special Characters button to insert a relevance weighting)
The number of Items included in the search scope
|
If you store the results as a node, you will be able to view each occurrence of the selected keyword in context (KWIC). By default,the context is 'narrow', meaning five words on either side. Refer to Handling Query Results for more information. |
|