Search within search results

You can quickly search through the content of documents in your Search Results list to see where keywords or text appear, including XML elements and attributes.

About this task

For example, you can target the specific location of keywords within the topics returned in the Search Results and see where and how they are used.

To search one or more documents in search results:

Procedure

  1. Open the DITA perspective.
  2. Perform a search.
  3. In the Search Results view, click the Search and Replace button (Search and replace in results list).
    The Search and Replace dialog box appears:
    Figure: Search and Replace


  4. Under Containing text, enter the search string you want to find.
    To search using recently used text or expressions, click the list under Containing text and make a selection.
    Note: Your search string can include wildcards, but it cannot include operators.
  5. Optional: To create a more targeted search, select one or more Options:
    • Case sensitive to find only text that matches the case in your search string.
    • Whole word to find only whole words that match the search string. (If this is selected, a search for "cat" would ignore the word "caterpillar".)
    • Regular expression if your search uses a codified pattern to represent multiple characters. If this option is not selected, the [ ] characters are be interpreted as wildcards.
  6. Click Search
    Note: If search results are provided over many pages, the following message is displayed:
    Search and Replace confirmation

    To search all the results, click All pages.

    To search the current page only, click This page only.

Results

The documents that match your search criteria appear in the Search view:

Figure: Search view