Try action=Purge first before you update.

Bryan LaPlante

----- Original Message -----
From: "Carlo van Wyk" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, August 05, 2001 1:50 PM
Subject: Verity index problems


| Whenever I update my verity index after adding files, the index is
updated.
| However, whenever I update the verity after deleting files from the
indexed
| directory, it seems as if the index is not updated. I still get search
| results from files that is already deleted.
|
| The code I use to update my index is included. Please advise.
|
| <CFSET IndexCollection = "coldfusion">
| <CFSET IndexDirectory = "c:\development\coldfusion\">
| <CFSET IndexRecurse = "YES">
| <CFSET IndexExtensions = ".pdf, .doc, .htm, .html, .txt, .cfm, .html,
.asp">
| <CFSET IndexLanguage = "english">
|
| <cfindex action="update"
|          collection="#IndexCollection#"
|          key="#IndexDirectory#"
|          type="PATH"
|          extensions="#IndexExtensions#"
|          recurse="Yes">
|
| Regards
| Carlo
| FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
| Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
| Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
|


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to