Yet Another CF/Verity Question....

Posted on 2003-02-20
Medium Priority
Last Modified: 2013-12-24
I have a collection which indexes all htm, cfm and pdf (adobe acrobat) files under the root.  I would like the collection to be *completely* reindexed every night, as the website goes through many changes during the day.  I have it set up to run an indexing file at night, which simply has a <cfindex action="update"> tag.  That seemed to work for a while, until I noticed that it was only indexing files which have been added, and not removing files from the index which have been removed, or reindexing files which have been changed.  Soooo, I try running <cfindex action="refresh">, and now the collection is empty; I reindex using <cfindex action="update"> and it only indexes htm and cfm files, not pdf, despite the fact that I have the extensions attribute set to extensions=".htm, .html, .cfm, .cfml, .pdf".  So I try purging and reindexing using action="purge" and then action="update", and same thing.  The only solution I've discovered is to completely delete the collection and then recreate it and THEN run <cfindex action="update">.  However when I try to automate that with the aforementioned indexing page, it seems to delete the collection (doesn't show up on cfadmin page) but the directory is locked up on the server, which means I have to go in and stop/start the service before I can delete the directory.  Then I can recreate the collection and index it and it works fine.  But sooooo cloogy, not to mention a pain in the you know what.  Any ideas?
Question by:morganpdx
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

techy6 earned 152 total points
ID: 7992991
You've definitely got the right strategy there!  I've got indexing scripts set up on a dozen or so CF webservers, and for each I've had to write scripts to delete, create, then update the collections.  As for your locked directory problem, you need to check the PATH attribute of your CFCOLLECTION tag, and make sure it's pointing at the right place.  If that's okay then I'm stumped!



Assisted Solution

cdillon earned 148 total points
ID: 7994971
One other thing to watch out for:  no one can be searching the indexes while you are updating them.  I set a lock in the database to disallow searching while the indexes are refreshing, which can take a while.  It usually corrupts the search index if someone is searching it and then I can't purge it, repair it, nothing works until I delete the collection remake it and reindex it.
LVL 35

Expert Comment

ID: 10931030
No comment has been added lately, so it's time to clean up this question.
I will leave the following recommendation in the Cleanup topic area:

Split techy6 & cdillon

Please leave any comments here within the next four days.

EE Cleanup Volunteer

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
What You Need to Know when Searching for a Webhost Provider
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question