Solr Search Support - Adobe 38043740 - ColdFusion Standard - Mac Development Manual

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
<cfindex
query = "Calls"
collection = "training"
action = "UPDATE"
type = "CUSTOM"
title = "Short_Description"
key = "Call_ID"
body = "Problem_Description"
custom1 = "Product">
To perform the refined search for HomeSite+ problems with the word certain in the problem description, the
tag uses the CONTAINS operator in its
cfsearch
<cfsearch
collection = "training"
name = "search_calls"
criteria = "certain and CF_CUSTOM1 <CONTAINS> HomeSite">
The following code displays the results of the refined search:
<table border="1" cellspacing="5">
<tr>
<th align="LEFT">KEY</th>
<th align="LEFT">TITLE</th>
<th align="LEFT">CUSTOM1</th>
</tr>
<cfoutput query = "search_calls">
<tr>
<td>#KEY#</td>
<td>#TITLE#</td>
<td>#CUSTOM1#</td>
</tr>
</cfoutput>
</table>

Solr search support

The Solr search service is an open source enterprise search server based on the Lucene Java search library.
Solr search service
Solr is a full-text search engine, based on Lucene, that contains the following features:
• XML/HTTP Interfaces
• Loose schema to define types and fields
• Web Administration Interface
• Extensive Caching
• Index Replication
• Extensible Open Architecture
• Written in Java5, deployable as a WAR
• Support for stemming
attribute:
criteria
Last updated 1/20/2012
525

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents