> I'm having a problem using Verity (not the K2 spider) > on CF5. Specifically, I can index a query fine, but if > I try to index a directory of cfm files using either > the administrator or cfindex, then do a CFDUMP on what > cfsearch returns, I get nothing. I've deleted the > collection and recreated many times, but still nothing. > Is there some secret step I'm not aware of?
I'm a bit confused. Typically, you wouldn't want to use CFINDEX to index cfm files; this would only index the actual content of your cfm files, not what the user would see when he requests the cfm files. > <!--- index rmtraining_static ---> > <cfindex action="update" collection="rmtraining_static" > key="#request.root#training\courses\" type="file" > title="Training" urlpath="#request.baseURL#training/courses/"> > <p>indexed rmtraining_static</p> I don't think this is going to work for you. When you use TYPE="FILE", that only indexes one file, and you didn't specify a file in the KEY, just a file path. > <!--- alternate indexing of rmtraining_static > <cfindex action="update" collection="rmtraining_static" > key="#request.root#training\courses" type="path"> ---> This looks a little closer, but you didn't specify a URLPATH here, so no one would be able to see the results. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

