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
A name that you assign to the text field or document attribute. You assign a field name to each field definition, and an attribute name to each attribute definition. These names are the means by which a query can restrict search to the content of a certain text field and can search for documents having a certain attribute.

tag
Identifies a tag whose begin and end or implied-end elements mark the text field or the document attribute. The text that is inside an element of that name makes up the content of the defined field or attribute. The case of the tag is disregarded. Possible values are described below.

type
The type of document attribute can be either "NUMBER", "DATE", or "STRING". This parameter does not apply to field definitions.

exclude
"YES"or "NO". A parameter that determines whether the text in field definitions should be excluded. If a field definition has the parameter exclude="YES", then those text field are not indexed. This parameter does not apply to attribute definitions.

Outside-In document models consist of field and/or attribute definitions that each define a name and a tag. For attribute definitions a type is also required, whereas field definitions have an optional "exclude" flag. As with HTML models, the name attribute of such a definition defines the name of the Net Search Extender field or attribute that the document part is to be mapped on. This can be an arbitrary UTF-8 text string. For additional information, see the Outside-In Content Access Specification, Version 7.5.

For a list of possible values for the tag attribute relating to the Outside-In begin, end and document property tags, see Outside-In tag attribute values for further information.


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