IBM Books
(C) IBM Corp. 2000

DB2 Net Search Extender Administration and User's Guide

What happens when an XML document is indexed

The following table shows what is put into the index.

Table 7. Entries in the text index

Field name Indexed text
addresses 123 Maple Street
Mill Hill
CA 90999
[1]
customerName Alice Smith [2]
partNumber 123
987
[3]

Note that in [1], where the text of the shipAddress element is indexed under field name addresses, the name element (Alice Smith) is not indexed. This is because the name element is itself in the document model, and indexed under field name customerName [2]. This means that, although embedded elements are allowed in the document model, they are not indexed as part of the embedding text field; they are indexed separately.

The content of fields is determined by the following rules:

The document must contain well-formed XML, but it is not necessary for a DTD to be specified in the XML document. No DTD validation or entity resolution is carried out; Net Search Extender only matches the XML document against the document model.

For information on the Document Type Definitions, see DTD for document models.

For restrictions, see Limitations for text fields and document attributes.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]