Use the CFX_INDEX tag to build collections containing indexed data on document files and database tables. CFX_INDEX has the following attributes:
| CFX_INDEX | |
| COLLECTION | Required. Specifies a collection name. |
| ACTION | Optional.
Specifes the index action. Valid entries are:
|
| TYPE | Optional.
Specifies the type of entity being indexed. Default is
CUSTOM. Valid entries are:
|
| TITLE | Optional.
Specifes one of the following:
|
| KEY | Required.
A unique identifier reference that specifies one of the
following:
|
| BODY | Required
if TYPE=CUSTOM. Ignored for TYPE=FILE and TYPE=PATH.
Specifies one of the following:
|
| URLPATH | Optional. Specifies the URL path for files when TYPE=FILE and TYPE=PATH. When the collection is searched with CFX_SEARCH, this path name will automatically be prepended to all file names and returned as the URL attribute. |
| EXTENSIONS | Optional. Specifies the comma separated list of file extensions that will filter the list of files returned when TYPE=PATH. Default is .htm, .html, .cfm, .cfml, .dbm, .bdml |
| QUERY | Optional. Specifies the name of the CFQUERY against which the collection is being generated. |
| RECURSE | Optional.
Specifies that directories below the path specified in
KEY when TYPE=PATH will be included in the indexing
operation. Valid entries are:
|