Chapter 11: Indexing and Searching Data
Spanish
Swedish
The default language for Verity collections is English. To index data in one of the
supported languages, you must select the language from the drop-down list when you
create a collection on the ColdFusion Administrator Verity page. You must then enter
the selected language as a value of the LANGUAGE attribute in both the CFINDEX and
CFSEARCH tags used against that collection.
To order the Language Pack, contact Allaire Customer Service or visit our online store
at
http://
dictionaries is in
Steps in Creating a Searchable Data Source
There are several steps in creating a searchable data source:
1.
Create a collection.
This can be done either through the ColdFusion Administrator or
programmatically.
2.
Populate and index the collection
This involves selecting the data and generating the index.
3.
Design a search interface and a results page so that users can access the
searchable data source.
Creating a Collection
The Verity engine performs searches against collections. A collection is a special
database created by Verity that contains pointers to the indexed data that you specify
for that collection. ColdFusion's Verity implementation supports collections of three
basic data types:
Text files such as HTML pages and CFML templates.
Binary documents (see the Supported File Types list).
Result sets returned from CFQUERY, CFLDAP, and CFPOP queries.
You can build a collection from individual documents or an entire directory tree.
Collections can be stored anywhere, so you have a lot of flexibility in accessing indexed
data. This adds enormous value to any content-rich Web site.
ColdFusion provides twodifferent ways to create a Verity collection. You can:
Make selections on the ColdFusion Administrator Verity page
Code the CFCOLLECTION tag
www.allaire.com/store
\cfusion\verity\common
. The default installation directory for the
.
153
Need help?
Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?