The Virtual Document
A virtual document represents the document text to be indexed and viewed by the application. There is one virtual document definition for each collection. The definition of a virtual document includes:
Document Layout Definition
By default, the Verity engine assumes that the document layout consists of the entire contents of each document's file, beginning at row 1, column 1. You can redefine what the virtual document looks like using the style.dft
file. Document layout options affecting the placement of the document on the screen for display, with or without field information, can be implemented in the style.dft
file. The document layout definition indicates the document body text to be indexed and viewed.
Document Filter Specification
Document filters are available to stream documents for indexing and viewing functions. Filters support most major word processing and desktop publishing formats. The default configuration of the universal filter implements helper filters for all supported document types, including WYSIWYG, PDF, and HTML documents. The universal filter is specified in the default style.dft
file. The helper filters configured for use with the universal filter are specified in the style.uni
file.
Default style.dft File
Verity provides a default document format file, called the style.dft
file that is used to override the virtual document definition. The default style.dft
file is shown below:
- # Document Format File (style.dft)
- $control: 1
- dft:
- {
- field: DOC
- /filter="universal"
- }
The override options available in the style.dft
file are covered later in this chapter in the section called "Using the style.dft File."
Universal Filter Functionality
The universal filter can automatically detect all supported document formats and then process the documents for indexing and viewing. The Verity engine implements the universal filter by default based on configuration settings in the default style files. The default configuration supports all Verity supported document types.
The universal filter and its configuration is described in "The Universal Filter" later in this chapter. For information about the document types recognized by the universal filter, refer to Appendix B, "Universal Filter Document Types".
See "Standard Fields-In the style.sfl File" in Chapter 4 for a description of the standard fields in the style.sfl
file.
Copyright © 2002, Verity, Inc. All rights
reserved.