Nope, you have to handle scheduling yourself.  I just set up a URL that 
will include that CFINDEX (below in my first response) and then I 
schedule that script through CFAdmin, so it can be whatever schedule you 
want.

NOTE: It is also entirely possible to automate UPDATE of a particular 
piece of content, for instance something triggered when the dynamic 
content gets saved to the database, and you can find info on that in the 
documentation for the CFINDEX tag.

On 5/8/2010 10:13 AM, Blizzm wrote:
> Thanks for the helpful info.  We were also advised to use Verity spider 
> since it has the ability to index dynamic content as well.  Since some of 
> our pages pull from cfincludes it was suggested that we use that instead.
>
> How often does the collection update?  If I was to add a new page today, 
> for example, would the collection automatically update the results or would I 
> have to r-index the collection?
>
> Thanks again
>
> --- On Fri, 5/7/10, Jason Fisher<[email protected]>  wrote:
>
> From: Jason Fisher<[email protected]>
> Subject: re: Setting up a Site Search
> To: "cf-talk"<[email protected]>
> Date: Friday, May 7, 2010, 10:48 AM
>
>
> Verity is simple to use, I assume Solr is similar.  The instructions here 
> are for CF8.
>
> Create an Index of your files, first decide where you want the INDEX files:
> <cfcollection action="CREATE" collection="mySearchCollection" path="#full 
> path to the index directory#" />
>
> Then point at the directory of files you want to put IN the index:
> Â  Â  Â  Â  Â<cfindex action="UPDATE"
> Â  Â  Â  Â  Â  Â  Â  Â  collection="mySearchCollection"
> Â  Â  Â  Â  Â  Â  Â  Â  type="PATH"
> Â  Â  Â  Â  Â  Â  Â  Â  key="#full path to the static files#"
> Â  Â  Â  Â  Â  Â  Â  Â  urlpath="#root URL that will connect links to 
> the files#"
> Â  Â  Â  Â  Â  Â  Â  Â  
> extensions=".doc,.htm,.html,.pdf,.ppt,.pps,.txt,.xls"
> Â  Â  Â  Â  Â  Â  Â  Â  language="English"
> Â  Â  Â  Â  Â  Â  Â  Â  recurse="Yes"
> Â  Â  Â  Â  Â  Â  Â  Â  status="verityStatus"
> Â  Â  Â  Â  Â  Â  />
>
>
> Once that runs, you will have results of the indexing available in the 
> #verityStatus# struct, and you will have a collection on the server called 
> 'mySearchCollection'.  Note that the extensions param doesn't hit .cfc 
> files.
>
> To search the collection, it's about as easy:
> Â  Â  Â  Â<cfsearch collection="mySearchCollection"
> Â  Â  Â  Â  Â  Â  name="searchQry"
> Â  Â  Â  Â  Â  Â  criteria="#search term or phrase#"
> Â  Â  Â  Â  Â  Â  contextpassages="1"
> Â  Â  Â  Â  Â  Â  status="searchStatus"
> Â  Â  Â  Â  Â  Â  suggestions="Always"
> Â  Â  Â  Â  Â  Â  type="INTERNET"
> Â  Â  Â  Â  />
>
> > From there, just work through the CF docs.
>
> ----------------------------------------
>
> From: "Blizzm"<[email protected]>
> Sent: Friday, May 07, 2010 1:26 PM
> To: "cf-talk"<[email protected]>
> Subject: Setting up a Site Search
>
> We have a site that is primarily static in nature and uses a custom tag for 
> wrapping header and footer content.� None of the pages are indexed in a 
> database, some are called in via cfincludes and a very few are called via 
> AJAX.
>
> We would like to create an search engine to find and display up-to-date 
> content from the main sections of our site - obviously we wouldn't want cfcs, 
> udfs, etc. to be displayed.� All we would want is the static content, PDFs, 
> MS files, etc.
>
> Is it possible to use Google Search to achieve this or are we better off 
> using Verity?Solr?� From some of the posts I've read, there seems to be 
> issues with Verity in displaying content, speed, lack of documentation / 
> how-to's, etc.
>
> This seems like a fairly standard type of task.� Any suggestions are 
> appreciated.
>
> Thanks
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333523
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to