<CFINDEX> Tag - ColdFusion


>> Return to ColdFusion Tag Index

The <CFINDEX> tag allows you ...



  <CFINDEX> Comments from Macromedia LiveDocsLiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags52.htm
It's worth pointing out that if you specify a key, it MUST be unique. There's no stress on this point, but it's very important. Additionally, if you fail to make it unique, there's no indication that's the cause - your searches will simply fail to perform like you'd expect.

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags52.htm
I am interested in Dean's solution as well. I am trapping Spam, and want to use verity collections to search through the trapped spam. The problem is that each piece of trapped spam comes in the form of two files, a Q*.smd file and a D*.smd file. I only need to search the D*.smd files, so I want to omit the Q*.smd files from my index. Since d*.smd was unusable as an extension in the CFINDEX, on my last attempt to solve this I created a CFDIRECTORY query with a functional filter, and used that to drive a CFOUTPUT to CFINDEX each individual file that I was interested in. This took forever, and was thus unusable.

Dean, did you ever solve your problem?

-- Michael Cummins (michael@i-magery.com)

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags52.htm
I am using a query to get some filenames from a database (These files reside in several directories, and only a number of files is to be indexed). The query returns roughly 180 files (about 28 megs in size).

I then use a <cfoutput> to loop around the results of the query, and inside that a <cfindex> to index the particular file on each row of the query. This means the the <cfindex> is run once, for each file returned.

This is a highly unreliable script - and often does not finish running (thus it does not work). Is there a reason for this? Is it not advisable to run a large number (if 180 is large!) <cfindex>'s at a time? If this is the problem, are there any alternatives? Basically, I need files that have a set prefix indexed (the prefix might be "sd_", thus any file with "sd_" as the first 3 chars of its filename needs to be indexed - the rest should not be.)

Looking for a solution,

Dean

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags52.htm
Purge deletes all keys from a collection. Refresh deletes all keys from a collection, then updates it.

This is clearer in subsequent versions of the documentation.

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags52.htm
What is the difference between purge and refresh?

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags52.htm
200 MB appears to be way over the practical limit, at least according to the technote at http://www.macromedia.com/support/coldfusion/ts/documents/tn1728-3.htm

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags52.htm
The recently upgraded LiveDocs system allows inline replies. Before that most responses were offline.

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags52.htm
Anyone ever answer?

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags52.htm
We're having a heck of a time indexing a site - it always times out, no matter how long we sent RequestTimeOut to.

Is there a size limit of what you can index with the Verity engine that ships with CF? We're trying to index about 200MB of .htm (text only) files.

Jek



[Top]


Recommended Books

[Top]

Web Sites

[Top]

Copyright © 2003- 2008, Orville Paul Chomer, All Rights Reserved