[thelist] cfsearch of a path returns no results
Sarah Sweeney
mr.sanders at designshift.com
Tue Apr 13 12:02:35 CDT 2004
> Can you post the code you are using for (cfcollection,) cfindex and
> cfsearch.
Sure, here's the code:
<cfcollection
action="create"
collection="cfsearchTest"
path="#GetDirectoryFromPath(ExpandPath(''))#verity/collections/">
<cfindex
collection="cfsearchTest"
action="refresh"
type="path"
recurse="yes"
key="#GetDirectoryFromPath(GetBaseTemplatePath())#"
extensions=".*">
<cfsearch
name="searchResults"
collection="cfsearchTest"
criteria="#form.Criteria#">
Results: <cfoutput>#searchResults.RecordCount#</cfoutput>
<cfdump var="#searchResults#">
Sarah
More information about the thelist
mailing list