Run a Text Search query


What do you want to do?


 


Understand Text Search queries

Text search queries let you search for words or phrases in your sources.  You can choose to search only the textual content of your sources, only in annotations or both.

You can select the source content you want to search, by selecting sources, nodes, sets, folders or search folders.

Before you run a Text Search query, make sure the text search language is set to the language of your source materials—refer to Set the text search language and stop words for more information.

You can use a Text Search query to:

You can search for exact words, phrases or even concepts that include similar words. For example, if you search for sport, NVivo can find words with similar meanings: recreation, play, and fun.

You can use a Compound Query to further refine a text search, for example you could

NOTE  You cannot use Text Search queries to search for words or phrases in framework matrix summaries.

ic_top_of_page.gifTop of Page

Run a Text Search query

  1. On the Explore tab, in the Queries group, click New Query, and then click Text Search.

rn_explore_queries.gif

The Text Search Query dialog box opens.

  1. On the Text Search Criteria tab, in the Search for box, enter the word or phrase. If you want an exact phrase enclose it in double quotation marks (").

  2. (Optional) Adjust the Finding matches slider to find words or phrases with a similar meaning. By default, the slider is set to find 'Exact match only'—refer to Understand text match settings for more information.

  3. (Optional) Click Special to combine multiple words with special characters and operators.

  4. In the Search in box, select whether you want to search in Text, Annotations or both.

  5. To change the scope of the query:

  1. (Optional) Click the Query Options tab to save the results in a node or set, and to define the spread coding options (amount of coding spread around the search word). By default, only the word or phrase is coded—to make references more meaningful, you may want to increase the spread. Refer to Spread coding for more information.

  1. Click Run.

NOTE

ic_top_of_page.gifTop of Page

Preview the results

When you run a Text Search query, by default, the Summary tab is in focus showing a list of all sources that contain the word or phrase.

Click the other tabs on the right to see:

cn_query_text_wordtree.gif

When you view the results as a Word Tree, you can:

ic_top_of_page.gifTop of Page

Find text and code to a node

You can use a Text Search query to find and code specific words or phrases. For example, you can search for the word policies and store the results at the node government.

  1. Create the Text Search query and define the criteria—refer to Run a Text Search Query.

  2. In the Text Search Query dialog box, click the Query Options tab.

  3. Under Results, in the Options list, select Create Results as New Node.

  4. By default, the new node will be stored in the Results folder—to change the location click the Select button next to the Location box.

  5. In the Name box, enter a name for the new node.

  6. (Optional) Enter a description of the new node.

  7. Under Spread Coding, in the Spread to list, select the amount of context you want to code. By default, only the word or phrase is coded—to make references more meaningful, you may want to increase the spread. Refer to Spread coding for more information.

  1. Click Run to find and code the specified text.

The result node is displayed in Detail View, each reference is displayed with the coded content in black and the context in grey.

cn_query_text_node.gif

 

NOTE

ic_top_of_page.gifTop of Page

What text is included in a Text Search query?

When running a Text Search query, NVivo applies the following rules:

ic_top_of_page.gifTop of Page

Look for similar words

You can adjust the Finding matches slider to find words with the same stem or words with similar meaning—for example, you can search for sport and find sport, sporting, play and basketball. Refer to Understand text match settings for more information.

TIPS

ic_top_of_page.gifTop of Page