Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 534

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
<cfsearch
collection="syn1"
criteria="Services solr"
name="results"
status="r"
suggestions="always"
contextPassages="1">
To highlight contents in the entire document, modify the solrconfig.xml and schema.xml files. These files are available
in the following locations:
• <Collection Directory>/conf: Modify files in this location to apply the changes to all future Solr collections.
• <Solr Home>/multicore/template/conf: Modify files in this location to apply the changes only to a particular
collection.
Stop Solr service.
1
Replace the following section in the solrconfig.xml
2
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true">
<!-- default values for query parameters -->
<lst name="defaults">
<str name="echoParams">explicit</str>
<str name="hl.fl">summary title </str>
<!-- omp = Only More Popular -->
<str name="spellcheck.onlyMorePopular">false</str>
<!-- exr = Extended Results -->
<str name="spellcheck.extendedResults">false</str>
<!--
The number of suggestions to return -->
<str name="spellcheck.count">1</str>
</lst>
<arr name="last-components">
<str>spellcheck</str>
</arr>
</requestHandler>
with
<requestHandler name="standard" class="solr.StandardRequestHandler" default="true">
<!-- default values for query parameters -->
<lst name="defaults">
<str name="echoParams">explicit</str>
<str name="hl.fl">contents title </str>
<!-- omp = Only More Popular -->
<str name="spellcheck.onlyMorePopular">false</str>
<!-- exr = Extended Results -->
<str name="spellcheck.extendedResults">false</str>
<!--
The number of suggestions to return -->
<str name="spellcheck.count">1</str>
</lst>
<arr name="last-components">
<str>spellcheck</str>
</arr>
</requestHandler>
Replace the following section in the schema.xml
3
Last updated 1/20/2012
529

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents