Methods for Populating Fields


You may wish to set field values related to your documents, so that the documents are searchable by fields. mkvdk supports the following methods for populating fields:

Using the Bulk Modify Feature

To use the bulk modify feature to populate fields, complete the following steps:

1. Define the fields in the style.ufl file.

For more information about the style.ufl file, refer to Chapter 4, "Field Definitions."

2. Create a bulk modify file specifying the documents to insert and the field values for each document.

3. Run mkvdk using the -bulk option and specify the bulk modify file(s).

For more information about bulk modify files, refer to the chapters on mkvdk in the Verity K2 Indexers Guide.

Extracting Field Values

To populate fields by extracting field values from documents, complete the following steps:

1. Define the fields in the style.ufl file.

For more information about the style.ufl file, refer to Chapter 4, "Field Definitions."

2. Create a style.tde file containing the field extraction rules (the datamap).

For more information about the style.tde file, refer to the next section.

3. Run mkvdk using the -extract option.

For more information about bulk modify files, refer to the chapters on mkvdk in the Verity K2 Indexers Guide.





Copyright © 2002, Verity, Inc. All rights reserved.