Hi Mark,

Yes, the collection you show is the one that is automatically generated for you during setup.

What I did for the file indexes is the same as you show in your form.  I put the name of the folder in the field to the right of 'collections/' 

My folder was called documents, so my directory name was ../collections/documents. I changed the extension list to suit my fancy and then created the collection. After that I clicked on the setup row link to get the default setup code.  One thing I noticed is that Plum built a folder under collections/documents.  The documents folder in my case is under the root and not under collections, so I made the appropriate path mods in the default method setup by Plum for you.  Paste that into your Verity.cfc and modify as necessary.  Rerun setup to reset your components, login and index the collection. Once you do that go to your search form and you should see your new collection option.  I did a lot of watching the collections.xml file in the collections directory, because Adam and David are using XML to store the collections, instead of putting it in the database. If you back yours up, you can actually configure your collections by adding collection definitions to the collections.xml file.  I always check mine in to a soure repository, because I have hosed them on more than one occasion, so be careful.

I should mention that I have the directory collections working great on localhost, but have yet to get it to work on the Intermedia site. It appears to index properly because it takes a couple minutes, but the search doesnt' return anything, so somethign is not right.  It might be because you are expected to put your directory collectins under the collections subdirectory of your project, although that seems like a crazy place to do it.  I got sidetracked onto something else and haven't been able to look into that further.

Maybe Adam or David can comment on how that should work.



On 5/2/06, mark <[EMAIL PROTECTED] > wrote:
Sorry Jeff, I am dumb as a brick and as clear as mud.  I am not using the CMS for this site so I need to build the general site search myself.  For this collection, there is not anything in the database.  Similar to what you describe under #2.  But I haven't gotten that far.  What values do I put in these fields?:
 
Is there a form to fill out before this one?  Just as an FYI, it seems the "built-in collection" is named as follows:
 
Familiar Name General Website Content
Actual Collection Name General_Website_Content_MdPro_VDK
 

Create New Collection

How do you want this collection to appear on the Search form (example: Today's News)?

 

What will this collection contain?
Documents
      The following directory containing documents:
           Directory Name: c:\websites\de8ddr/collections/
           Recurse Subdirectories
           Extension List:
      Documents whose full disk paths are stored in the database
Content stored in a database

 

Are you going to search this collection using K2 Server?


 


 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Fleitz
Sent: Tuesday, May 02, 2006 2:37 PM
To: [email protected]
Subject: Re: [plum] verity

Hi Mark,

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



--
v/r,

Jeff Fleitz

Reply via email to