MACROMEDIA COLFUSION MX 7-CFML Reference page 238

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

Status attribute
The
attribute provides the following information and diagnostics about the result of a
status
operation:
cfindex
Key
Type
BADKEYS
Struct
DELETED
Number
MESSAGES
Array
INSERTED
Number
UPDATED
Number
Example
<!--- EXAMPLE #1 Index a file, type = "file". ---------------------------->
<!--- Example dumps content of status variable (info). ------------------->
<cfindex collection="CodeColl"
action="refresh"
type="file"
key="C:\blackstone\wwwroot\vw_files\cfindex.htm"
urlpath="http://localhost:8500/vw_files/"
language="English"
title="Cfindex Reference page"
status="info">
<!--- Search for Attributes. --->
<cfsearch
name = "mySearch"
collection = "CodeColl"
criteria = "Attributes"
contextpassages = "1"
maxrows = "100">
<cfoutput>
key=#mySearch.key#<br />
title=#mySearch.title#<br />
context=#mySearch.context#<br />
url=#mySearch.url#<br />
</cfoutput>
<cfdump var="#info#">
<!--- EXAMPLE #2 Index a path (type = "path"). ------------------------------>
<cfindex collection="CodeColl"
action="refresh"
type="path"
key="C:\inetpub\wwwroot\vw_files\newspaper\sports"
urlpath="http://localhost/vw_files/newspaper/sports"
extensions = ".htm, .html"
recurse="no"
238
Chapter 2: ColdFusion Tags
Description
A structure of keys with diagnostic messages about the indexing of
these keys. If there are no bad keys, this key does not exist.
The number of keys deleted.
An array of diagnostic messages, including nonfatal errors and
warnings, returned from the Verity K2 Index server. If there are no
messages, this key does not exist.
The number of keys inserted into the collection.
The number of keys updated in the collection.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents