MACROMEDIA COLFUSION MX 7-CFML Reference page 241

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

Advertisement

<h2>Indexing Complete</h2>
<cfsearch
name = "getEmps"
collection = "CodeColl"
criteria = "cfsetting"
contextpassages = "1"
maxrows = "100">
<cfoutput>
key=#getEmps.key#<br />
title=#getEmps.title#<br />
context=#getEmps.context#<br />
url=#getEmps.url#<br />
</cfoutput>
<!--- EXAMPLE #6 Deletes keys in the CodeColl collection for html files --->
<!--- in the specified directory (but not in subdirectories). ------------->
<cfindex collection="CodeColl"
action="delete"
type="path"
key="C:\CFusionMX7\wwwroot\vw_files\newspaper"
urlpath="http://localhost:8500/vw_files/newspaper"
extensions = ".htm, .html"
recurse="no">
<!--- EXAMPLE #7 Purges all keys in the CodeColl collection --->
<!--- with recursion. ------------------------------------------------------->
<cfindex collection="CodeColl"
action="purge"
type="path"
key="C:\CFusionMX7\wwwroot\vw_files\newspaper">
cfindex
241

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents