There is a section in the Plum help file that talks to this, take a peek under the section about the CMS. There are 3 types of collections you need to be concerned with.
1. There is a default collection created called 'general' when you run setup. This is built into the default Plum settings, and indexes your site for all content that is stored in the CMS under the category 'General'. This is built for you automatically if you click on the 'Build General Website Content Verity Collection'. This references an existing method in the Verity.cfc component.
Point is, you will have a conflict if you are trying to index a file collection, because the 'General' collection might already exist, if you ran it from setup.
2. To create a new collection from within Plum, you need to create the collection in the admin area first. Then Plum will give you a method to add to your Vertiy.cfc component, so you can index it from the collections area. Once you add the collection, modify your verity.cfc component and rerun setup, you can index the collection from the admin area and it will show up in your search form as a checkbox.
I just did this for a plum site on Intermedia.Net ( http://www.wj.com ), that is still being worked on, although it is live. All of the content on this site is in the Plum CMS, with the exception of the reference documents, which are PDF files and AutoCad files. I have been trying unsuccessfully to get that indexed correctly. Intermedia wants you to use their interface to create collections, which is the same dumbed down one you see in the CF Admin. I created a collection for this directory, and it looks like it gets indexed, but the search form will not show the collection for some reason. I have been working on Sundays trying to get this to work.
This is one of the reasons why I have my own servers/hosting business, so I don't have to deal with this. It has been a real eye-opener for me.
Hope this helps.
On 5/2/06, mark <[EMAIL PROTECTED]> wrote:
OK, I seriously have a headache. I can't figure this out.
I want to create a verity search function to search all the files within a
folder called general (along with all the files in the subfolders). I want
to call the collection general.
Here are the values from environment.cfm, which I assume are correct:
// The URL you type in your browser to go to this application:
Application.urlRoot = "http://mdprofinish.com";
// The URL you type in your browser to go to this application under SSL:
// (if you don't have an SSL certificate, use the same value as
Application.urlRoot)
Application.sslRoot = "http://mdprofinish.com";
// The mapping you defined for this application in CF Administrator:
Application.mappingRoot = "/MarylandProH48731";
// The disk path to the directory containing this application:
Application.diskRoot = "c:\websites\de8ddr";
// The disk path to Verity's collections directory:
Application.verityRoot = "c:/cfusionmx7/verity/collections";
the folder I want to search is located at http://mdprofinish.com/general/
Anyone want to take a stab at explaining to me how to do this?
Thanks,
Mark Fuqua
**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:
http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************
--
v/r,
Jeff Fleitz
