IBM Books
(C) IBM Corp. 2000

DB2 Net Search Extender Administration and User's Guide

Element parameters

These are the parameters of the document model elements:

name
You assign a name to the text field or document attribute for each definition. The names enable you to restrict a search query to the content of a specific text field or document attribute. Using the above examples, you could search for documents containing the word firm in the text field named subtitle.

tag
Identifies an element whose start and (implied) end tags mark the text field or document attribute. The text that is inside an element of that name makes up the content of the defined field.

The case of the tag is disregarded.

Using the above examples, the text following any H1 tag is indexed as being part of the field "header1". In which case, "synopsis" and "prologue" would be indexed.

meta-qualifier

This tag has to be used with the tag element. By specifying tag="meta", the value of the content that matches the meta-qualifier is extracted.

In the HTML document example, the meta tag has the following elements:

<META NAME="Author" CONTENT="J. Grisham">

In the document model example, meta-qualifier="author". Therefore, the content "J. Grisham" is indexed as the value of the string attribute "author".

type
The type of document attribute must be "NUMBER". The parameter does not apply to field definitions.

exclude
YES or NO. A parameter that determines whether the text in field definitions should be excluded and not indexed. This parameter does not apply to attribute definitions. In the example, the field definition "header1" would be excluded, but definition "subtitle" included.

All other text of a document is indexed, but not as part of any field.

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 ]