At 04:21 PM 5/16/01 +0200, you wrote:
> > An additional question for [1] . . . I read that you should not
> > repair/optimize a collection while a search or index is being run. Is
> > there a way to prevent this short of bringing down the app? Can Verity
> > collections be locked and then repaired/optimized via a script?
>
>I have a tag that does this. I'll try to get it up the devex someday.
I've looked at this a bit - is there more to it than doing this:
<cflock
timeout="10"
name="verity_lock"
throwontimeout="yes"
type= "exclusive "
>
<cfcollection
action="optimize"
collection="target_collection_name"
>
</cflock>
Will this prevent a search or index from happening at the same time as the
optimization?
Is there a way to loop through all the Verity collections rather hand
hard-coding the collection name?
Thanks!
Jim
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.