You can run metadataindexall before you begin assigning metadata or
creating objects. This will initialize the collections. Later on,
whenever you add/edit/delete an object, you can run
metadataindexupdate/delete which will be quite fast.

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Aaron Shurmer [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, January 07, 2002 1:17 AM
> To: Spectra-Talk
> Subject: RE: problem creating metadata via script
> 
> 
> All the metadata for all applications is stored in the 2 
> verity indexes
> cfa_metadatakeywords and cfa_metadatacategories, so these are really
> independent of the applications, and spectra does not create them upon
> install... Basically, the only easy way to do it is to call
> cfa_metadataindexall to create the indexes automatically. 
> Unfortunately,
> if there are many objects in the system, it'll take ages as that tag
> runs through all the objects in the application verity 
> indexing them for
> metadata, which is not a fast process. So, you may wish to just steal
> the top 20 lines or so of that file, which create the collections for
> you.
> 
> Cheers,
> Aaron.
> 
> /**************************************** 
> Aaron Shurmer 
> Senior Developer 
> Daemon Internet Consultants 
> ph +61 (0) 2 9380 4162 
> <http://www.daemon.com.au/> 
> engineered.innovation 
> ****************************************/ 
> 
> 
> -----Original Message-----
> From: Vaughan Evans [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, 7 January 2002 5:42 PM
> To: Spectra-Talk
> Subject: problem creating metadata via script
> 
> 
> Hi all,
> 
> I've got a script I use cater for all my metadata needs. It creates my
> heirarchy, categories and keyords. The problem is that when I use this
> script to create the metadata in my application it doesn't create the
> necessary indexes at the same time. Creating all this via the webtop
> works fine though. Anybody know why this is happening? Is 
> there a flag I
> should be setting in the create tags or something?
> 
> Thanks for any help.
> 
> Vaughan
> 
> 
______________________________________________________________________
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.

Reply via email to