Retrieve all values for a specific dictionary

This procedure describes how to create and run a query to retrieve all values for a specific dictionary.

Before attempting this procedure, ensure that you have:
  • Installed an indexable docbase.
  • Created an Index Definition document with the index definition you want to retrieve.
  • Performed an indexing update on your docbase.

To create and run an indexed values query for a specific dictionary:

  1. Log in to the TEXTML Server Administration Console.
  2. Expand the docbase.
  3. Right-click Indexed Value Queries and select New Query>Search Index Query.
  4. Beside New query name, enter a name for the query and press OK.
    Figure 1. New indexed values query

    The new query appears under the Indexed Value Queries folder.
  5. Using a text editor such as Notepad, open the GetAllIndexedValuesForOneIndex.xml sample located in: %ProgramFiles%\IxiaSoft\TextmlServernn\SDK\Queries.
  6. Copy the query text.
  7. Double-click the new query to open it, and paste the sample query into the workspace:
    <?xml version="1.0" encoding="UTF-16"?>
    <!-- GetAllIndexedValuesForOneIndex.xml -->
    <query VERSION="4.1" >
       <key NAME="Page">
  8. Beside key NAME, replace the sample value with the name of the dictionary that you want to retrieve.
    <key NAME="Headline">
    Note: Refer to SEARCH_INDEX.DTD for details on elements and attributes.
  9. Save the query.
  10. Right-click the query and select Run.
    The TEXTML Index Values tab displays all indexed values in the selected dictionary.
    Figure 2. Indexed values for the "Headline" dictionary