Table of Contents

Search

  1. Preface
  2. Introduction
  3. Installation
  4. Design
  5. Operation

Output Views

Output Views

Output views are used to format search results returned by the Search Server. Rows are returned in IDT format when no output view has been specified or in a different format when an output view has been defined.
Output Views are also used to inject search statistics into the output.

Statistical Fields

When the following field names are specified in the output view, the Search Server will provide statistics gathered during the search process.
Note that some data in the output of a search is specific to each row. For example, the score is a property that changes for each row. Other statistics are relevant to the search set as a whole. For example, the number of candidates selected is the same for each row returned because it is a property of the set.
Also note that it is not normally possible to retrieve search statistics if the search does not return any rows. In this case, a dummy IDT row (filled with asterisks) can be returned, solely as a vehicle to return the statistics. This feature is enabled with the
Search
Option,
UNMATCHED_STATS
.
Field Name
Description
IDX-IO
Number of IDX rows retrieved
IDT-IO
Number of IDT rows retrieved
IDS-MS-SEARCH-NUM
Ordinal number of the successful search within a multi-search definition (starting from 1; 0 is returned for unsuccessful searches; see
Multi-Search
parameter
SEARCH-LIST=
for more details)
XXX-ACCEPTED-COUNT
Number of records accepted by scoring
XXX-UNDECIDED-COUNT
Number of undecided records
XXX-REJECTED-COUNT
Number of rejected records
XXX-TOTAL-COUNT
Total number of records scored
where
XXX is
KPSL
(Key-Pre-Score-Logic),
KSL
(Key-Score-Logic),
PSL
(Pre-Score-Logic) or
SL
(Score-Logic).

0 COMMENTS

We’d like to hear from you!