Mark, In the ColdFusion documentation, take a look at the key parameter for the CFINDEX tag. Here is some of the info:
The value specified for key depends on the type attribute: If type = "file", the directory path and filename for the file, If type = "path", the directory path for the location of the files. If type = "custom", a unique identifier that specifies the location of the data, For a query, the name of the column that holds the primary key, for example. If not a query, an identifier such as the URL for a web page, for example. I haven't used this all that much, but here is the way that I understand it. You set up the collection using CFCOLLECTION. Then you use CFINDEX to index that existing collection. When you set up the index, you have the parameter named key which stores a way to get the person back to the place where the search term was found. In my case, I run this on a database table where I want to return the row from that table if it matches in the search. So, I set the type parameter to "custom", and then set the key parameter to the column name for my table's primary key. When the search results come up, I create a series of links using this primary key (as included within the query object returned). Each link then goes to a page that pulls up that table row based on the primary key passed. In your case, you can use type="file" to return the path of the file, or (as the documentation suggests), a URL. This all depends on your exact set-up, though. If you have more questions, contact me off-list. HTH, Matthieu -----Original Message----- From: Mark Murphy [mailto:[EMAIL PROTECTED] Sent: Sunday, January 08, 2006 11:25 PM To: CF-Talk Subject: Verity and Coldfusion MX Howdy, I'm new to Coldfusion - and am looking at the product for work, where we have a trial version of verity Ultraseek. I know that coldfusion has a component of Verity and I have set up collection, searched on this, and am generally happy with the results - Except it won't open the files! I have noticed that the MS office docs 2003, pdf5+ don't seem to be supported - which seems odd, given that I get results, so it does index them - it just won't open the document to view them. I keep getting an error saying it can't locate the doc. Am I missing something? Is there a workaround, somehow. Thanks, Mark ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229518 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54