Overview: FarCry SOLR
Tip | ||
---|---|---|
| ||
The FarCry Solr Pro plugin http://jeffcoughlin.github.com/farcrysolrpro/ is now available under the Apache open source license and offers a wonderful range of search options that greatly exceed this plugin's capability. Well worth a look if you are looking for an awesome search solution and have the ability to set up a separate Solr service on your server. |
Excerpt |
---|
FarCry Solr plugin provides configuration and management services for the ColdFusion implementation of Solr search service. FarCry Solr 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. |
Note |
---|
FarCry Verity Solr requires a minimum of FarCry v6.x to function. |
...
Code Block | ||
---|---|---|
| ||
<!--- 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,farcrysolr,farcrydoc" />
|
...
Code Block | ||
---|---|---|
| ||
<cffunction name="contentToIndex" returntype="query" description="Gets news content to index">
<cfset qContentToIndex = application.fapi.getContentObjects(typename="dmNews",lProperties="objectid",publishDate_lte=now(),expiryDate_gt=now()) />
<cfreturn qContentToIndex>
</cffunction>
|
...