Creating reference lists

You create reference lists in the Index Definition document. To be able to do so, you must check the Index Definition document out and save it on your hard drive.

Reference lists contain words or strings that you specifically want indexed or do not want indexed. If you want the content of the reference list indexed, you must associate the list with an index and define the list as an indexable word or string list in the index. If you do not want the content of the reference list indexed, you must associate the list with an index and define the list as an unindexable word or string list in the index.

You define reference lists using the index definition DTD.

Note: You must create reference lists before you create indexes.

For conceptual information about reference lists, see the TEXTML Server Administration Guide.

For information on how to associate reference lists with word indexes, see Creating word indexes.

For information on how to associate reference lists with string indexes, see Creating string indexes .

To create a reference list:

  1. Open the Index Definition document with any XML editor.
  2. Under the root element <indexdefinition> add a root element <referencelists>.
  3. Under the <referencelists> element add either a <wordlist> element, if you want to create list of words, or a <stringlist> element, if you want to create a list of strings.
  4. Add your words or strings in <word> or <string> elements under <wordlist> or <stringlist> respectively.

The Index Definition document for the SampleNewsDocBase contains reference lists.

Location: [...]\IxiaSoft\TextmlServer[version]\Sdk\indexdefinition.xml.