Yes, a FarCry site can have a search.
There’s a sample search implementation in the Fandango perfect skeleton which does basic SQL “like” matching for HTML pages, just on component and a few webskins (dmSimpleSearch).
If you want something more advanced then the FarCry SOLR Pro plugin might be suitable, it requires running SOLR on your server(s) (there are installation instructions).
There are also other options… We have an Amazon CloudSearch plugin and an Azure Search;
And if your site is publicly visible to the internet, you can let Google crawl your site and implement Google Custom Search.
So really the answer is, yes you can use an existing plugin or you can build something to suit your needs. If you need more assistance please let us know
Other Example Search Plugins
Cloudsearch Plugin interfaces with the
Amazon Cloudsearch service to provide search capabilities for any FarCry application. Cloudsearch is an API based implementation of the SOLR search engine, and the plugin works similarly to the FarCry Solr Pro Plugin.
Cloudsearch is an AWS specific API for a commercial SOLR Pro service. We follow previous search engine plugin (Verity, Solr and Solr Pro) approaches to configuration and indexing. Standard search and results outputs are straightforward.
Azure Search Plugin interfaces with the Microsoft Azure Search service to provide search capabilities for any FarCry application. Azure Search is an API based implementation of the Azure Search service, and the plugin works similarly to the FarCry Solr Pro Plugin.
Easily add sophisticated cloud search capabilities to your website or application using the same integrated Microsoft natural language stack that’s used in Bing and Office and that’s been improved over 16 years. Quickly tune search…
Provides close integration for FarCry projects with the Google Site Search service.
Code, documentation, bug tracking, etc:
Google Custom Search enables you to create a search engine for your website, your blog, or a collection of websites. You can fine-tune the ranking, customize the look and feel of the search results, and invite your friends or trusted users to help you build your custom search engine.
support for page mapping custo…
Simple Search Example
This file has been truncated.
<cfcomponent displayname="Simple Search" extends="farcry.core.packages.forms.forms"
fualias="search" hint="A simple search which does a SQL LIKE filter on dmHTML content.">
<cffunction name="search" returntype="query">
<cfargument name="q" type="string" default="">
<cfset var qResults = "">
<cfquery name="qResults" datasource="#application.dsn#">
SELECT objectid, typename, SUM(relevance) AS relevance
SELECT objectid, 'dmHTML' AS typename, 10 AS relevance FROM dmHTML WHERE lower(title) LIKE <cfqueryparam cfsqltype="cf_sql_varchar" value="%#lcase(arguments.q)#%">
<cfif application.dbtype eq "mssql2005">
<!--- cast ntext fields as nvarchar for sql server --->
SELECT objectid, 'dmHTML' AS typename, 7 AS relevance FROM dmHTML WHERE lower(CAST(teaser AS nvarchar(max))) LIKE <cfqueryparam cfsqltype="cf_sql_varchar" value="%#lcase(arguments.q)#%">
SELECT objectid, 'dmHTML' AS typename, 5 AS relevance FROM dmHTML WHERE lower(CAST(body AS nvarchar(max))) LIKE <cfqueryparam cfsqltype="cf_sql_varchar" value="%#lcase(arguments.q)#%">