The file PDCDEMO.IDQ contains the following text:
[Query] CiColumns=filename,size,rank,characterization,vpath,DocTitle,write CiFlags=DEEP CiRestriction=%CiRestriction% CiMaxRecordsInResultSet=150 CiMaxRecordsPerPage=10 CiScope=\ CiTemplate=/scripts/spdc1.htx CiSort=rank[d] CiCatalog=d:\
Each line of the IDQ files defines a part of the query, such as the scope, restriction, and how to format the data. Each line of the file is explained in the following table.
IDQ Line |
Explanation |
[Query] |
Indicates that the following information specifies a query restriction. |
CiColumns = filename, size, rank, characterization, vpath, DocTitle, write |
Indicates the properties to return in the result set (filename, size, abstract, etc.) |
CiFlags=DEEP |
Execute the query over all child folders within the scope. |
CiRestriction=%CiRestriction% |
The query terms to search for (in the example the value was "systems management"). |
CiMaxRecordsInResultSet=150 |
No more than 150 results will be returned. |
CiMaxRecordsPerPage=10 |
Place only 10 results per Web page returned to the user. |
CiScope=\ |
Start the query at the top (root) of the storage space. |
CiTemplate=/scripts/spdc1.htx |
Use the SPDC1.HTX file to format the results. |
CiSort=rank[d] |
Sort the results based on the rank in descending ("d") order. |
CiCatalog=d:\ |
Use the index stored in d:\ |
Figure 7 - IDQ File Description
Once the results are returned in an intermediate format, the Index Server processor accesses the specified HTX file and formats the results.