Using Verity, you can search data returned by a query--such as a database record set--as if it were a collection of documents stored on your web server. Using Verity to search makes implementing a search interface much easier, as well as letting users more easily find information contained in database files. This section describes the reasons and procedures for indexing the results of database and other queries. It also describes how a database can direct the indexing process, using different values for the type
attribute of the cfindex
tag.
This section describes the following topics:
When indexing record sets generated from a query (using the cfquery
, cfldap
, or cfpop
tag), cfindex
creates indexes based on the type
attribute and its set value:
Type | Attribute values |
---|---|
File |
The |
Path |
The |
Custom |
The |
The cfindex
tag treats all collections the same, whether they originate from a database recordset, or if they are a collection of documents stored within your website's root folder.