You need to index the collection before you search, otherwise you get no results.
Seems you've done that.

Do you have the correct name of the collection in your cfsearch tag?
Did you LCase the criteria as below?
Are you sure your test search should return a result?
Does the name attribute of the cfsearch tag match the scope of the variable you're
trying to output?

<cfsearch collection="myCollection" name="searchResults" type="SIMPLE"
criteria="#LCase(form.searchCriteria)#" language="English">

<cfoutput>#searchResults.RecordCount# results found out of
#searchResults.RecordsSearched# records searched.</cfoutput>

-----Original Message-----
From: Andy Hammer [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 1:21 AM
To: CF-Talk
Subject: Verity returns zero hits

I am using CFMX on Redhat8. The CFMX Administrator
allows me to create and index a collection called
CodeColl. I am using the sample pages of
collection_search_form.cfm and
collection_search_action.cfm as I found them. The
script runs with no errors, but I get zero
hits. I have also tried indexing the collection
manually with the cfindex tag. That also runs with a
success message, but my searches all are empty. CF is
indexing something. The verity/collections folder gets
much larger after the indexing process. Any ideas on
my
empty results?

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to