Adobe COLDFUSION 9 Manual page 531

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
• Support for MS Office 2007 file formats
The ColdFusion installer automatically creates the ColdFusion 9 Solr service, which contains the Solr web application.
For UNIX and Linux, you need to start and stop the Solr shell script.
CFML tags used to configure Solr
To create a collection using this tag, specify
cfcollection
a Solr collection, you do not need to specify the language. Language can be specified in the <cfindex> tag. All other
attributes remain the same.
ColdFusion detects the search engine based on the collection name.
cfindex
Language support
Solr supports the following languages:
• Danish
• Dutch
• Finnish
• French
• German
• Italian
• Norwegian
• Spanish
• Portugese
• Russian
• Swedish
• Chinese
• Japanese
• Korean
• Czech
• Greek
• Thai
Solr supports documents in any language. If the document has a language (for example, Arabic) not listed above, it can
still index the content, but stemming is not available. In this case, do not specify a language attribute in the cfindex tag.
Solr supports stemming. That is, it considers the root form (stem) of the word for search. This applies only if you
provide the attribute
language.
Solr search examples
The following examples show the search syntax used while performing search operations using Solr:
• Single word search: The following example shows how to search for a single word in a collection:
<cfsearch name="qsearch1" collection="solr_complex" criteria="Graphics">
with
engine="solr"
Last updated 8/5/2010
action="create"/"list"/"map"
526
. For

Advertisement

Table of Contents
loading

Table of Contents