Overview
FarCry Verity plugin provides configuration and management services for the ColdFusion implementation of Verity K2 server. This plugin replaces the legacy Verity configuration tools that were in core. FarCry Verity allows you to set up a specific collection for each content type, defining exactly which properties should be searchable. In addition, there are features to allow multiple servers in a cluster manage their own collections, replicating/synchronising the verity configurations. Sample search code is provided, although many users will want to develop their own search interfaces. The plugin also provides logging and reporting of search activity.
FarCry Verity Plugin requires a minimum of FarCry v4.07 to function.
Download
You can grab the latest code base from the FarCry subversion repository:
- v1.0.x (suitable for FarCry v4.x) https://farcry.jira.com/svn/VER/branches/p100
- trunk (under develoment, suitable for FarCry 5.x or 6.x) https://farcry.jira.com/svn/VER/trunk
Installation
5,0,x Installation
Update the plugin list in your project's ./www/farcryConstructor.cfm file.
<!--- FARCRY SPECIFIC ---> <cfset THIS.locales = "en_AU,en_US" /> <cfset THIS.dsn = "fullasagoog" /> <cfset THIS.dbType = "mssql" /> <cfset THIS.dbOwner = "dbo." /> <cfset THIS.plugins = "farcryblog,farcrycfimage,farcryverity,farcrydoc" />
4,0,x Installation
Add farcryverity to your plugin list in the farcryinit tag of your project's Application.cfm:
<farcry:farcryInit name="daemon" dbType="mssql" plugins="farcrycms,farcryverity,googleMaps" />
Configuration
Then you need to configure the Verity collection storage path and hosts to be managed in your _serverSpecific Vars.cfm configuration file:
<cfsetting enablecfoutputonly="true" /> <!--- setup environment variables for specific developers/machines/servers ---> <cfset machineName = createObject("java", "java.net.InetAddress").localhost.getHostName() /> <!-------------------------------------------- PRODUCTION ENVIRONMENT ---------------------------------------------> <!--- set verity plugin config ---> <cfset application.stplugins.farcryverity.storagePath="C:\Inetpub\verity\collections" /> <cfset application.stplugins.farcryverity.lhosts = machinename /> <cfsetting enablecfoutputonly="false" />
Then simply reinitialise your application and login to the webtop. You'll find the administration screens under: ADMIN > Verity Plugin
Verity Default Configuration
If you don't specify a collection path and lhosts you will get the following defaults:
- collection path; C:\coldfusionverity\collections
- lhosts; createObject("java", "java.net.InetAddress").localhost.getHostName()
Content Types
farVerityConfig
farVerityLog