cfindex
235
ColdFusion MX:
•
The
action
attribute value
optimize
is obsolete. It does not work, and might cause an error,
in ColdFusion MX.
•
Changed the
external
attribute behavior: it is not necessary to specify the
external
attribute. (ColdFusion automatically detects whether a collection is internal or external.)
•
Changed Verity operations behavior: ColdFusion supports Verity operations on Acrobat PDF
files.
•
Changed thrown exceptions: this tag can throw the SEARCHENGINE exception.
•
Changed acceptable collection naming: this tag accepts collection names that include spaces.
•
Changed query result behavior: the
cfindex
tag can index the query results from a
cfsearch
tag.
Attributes
Attribute
Req/Opt
Default
Description
collection
Required
Name of a collection that is registered by ColdFusion; for
example,
"personnel"
.
action Required
•
update: updates a collection and adds
key
to the index.
•
delete: removes collection documents as specified by
the
key
attribute.
•
purge: deletes all of the documents in a collection.
Causes the collection to be taken offline, preventing
searches.
•
refresh: deletes all of the documents in a collection, and
then performs an update.
type Optional
custom
, if
query
attribute is
specified.
Otherwise,
file
.
•
file: applies
action
value to filename, including path.
Expects a filename in the
key
attribute.
•
path: applies
action
to files in a directory path that pass
the
extensions
filter. Expects a directory name in the
key
attribute.
•
custom: applies
action
to custom data; for example, to
data from a query.
title
Optional
Provides a title for the document if one cannot be
extracted from the document.
key Required
(empty
string)
The value specified for
key
depends on the
type
attribute:
•
If
type
=
"file"
, the directory path and filename for the
file,
•
If
type
=
"path"
, the directory path for the location of the
files.
•
If
type
=
"custom"
, a unique identifier that specifies the
location of the data, For a query, the name of the
column that holds the primary key, for example. If not a
query, an identifier such as the URL for a web page, for
example.
Summary of Contents for COLFUSION MX 7 - INSTALLING AND USING COLDFUSION MX
Page 1: ...COLDFUSION MX7 CFML Reference...
Page 20: ...20 Chapter 1 Reserved Words and Variables...
Page 50: ...50 Chapter 2 ColdFusion Tags cfelse br Searching cfif cfloop cfif...
Page 101: ...cfdefaultcase 101 cfdefaultcase cfswitch cfoutput Your grade is grade cfoutput...
Page 115: ...cfdocumentsection 115 cfdocumentsection cfoutput cfdocument...
Page 411: ...cftable 411 cftable body html...
Page 515: ...Chr 515 maxlength 5 p input type Submit name input type RESET cfform...
Page 605: ...GetEncoding 605 WriteOutput The encoding is theEncoding cfscript cfif...
Page 629: ...GetProfileString 629 tr td input type Submit name Submit value Submit td td td tr table form...
Page 655: ...IIf 655 cfoutput IIf Hour Now GTE 12 DE It is afternoon or evening DE It is morning cfoutput b...
Page 664: ...664 Chapter 3 ColdFusion Functions cfelse h3 Conversion error h3 cfif...
Page 687: ...IsStruct 687 cfoutput cfquery cfif cfoutput hr Employee Add Complete cfoutput cfcase cfswitch...
Page 751: ...LSDateFormat 751 hr noshade cfoutput cfloop...
Page 861: ...StructFind 861 cfquery cfif cfoutput hr Employee Add Complete cfoutput cfcase cfswitch...
Page 903: ...Val 903 value Is the beginning numeric name form...
Page 932: ...932 Chapter 3 ColdFusion Functions...
Page 944: ...944 Chapter 4 ColdFusion MX Flash Form Style Reference...
Page 962: ...962 Chapter 5 Application CFC Reference...
Page 1054: ...1054 Chapter 6 ColdFusion MX Event Gateway Reference...