Adobe COLDFUSION 9 Manual page 486

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
Language
Norwegian
Norwegian (Bokmal)
Norwegian (Nynorsk)
Polish
Portuguese
Russian
Spanish
Swedish
Turkish
Multiple languages
You can register collections in the ColdFusion Administrator or by creating a collection with the
If you register a given collection with ColdFusion and you specify a
attribute when using
language
with ColdFusion, ColdFusion uses English (Basic), the default language, unless you specify the language in the
attribute for the
language
cfindex
Note: When you search a collection in a language other than English, translate operators such as AND and OR into the
language of the collection.
Creating a search tool for ColdFusion applications
The three main tasks in creating a search tool for your ColdFusion application are:
Create a collection.
1
2
Index the collection.
Design a search interface.
3
You can perform each task programmatically—that is, by writing CFML code. Alternatively, you can use the
ColdFusion Administrator to create and index a collection.
Creating a collection with the ColdFusion Administrator
Use the following procedure to quickly create a collection with the ColdFusion Administrator:
In the ColdFusion Administrator, select Data & Services > Verity Collections.
1
Enter a name for the collection; for example, DemoDocs.
2
3
Enter a path for the directory location of the new collection, for example, C:\CFusion\verity\collections\.
By default in the server configuration, ColdFusion stores collections in cf_root\verity\collections\ in Windows and
in cf_root/verity/collections on UNIX. In the multiserver configuration, the default location for collections is
cf_webapp_root/verity/collections. In the J2EE configuration, the default location for collections is
verity_root/verity/collections, where verity_root is the directory in which you installed Verity.
Note: This is the location for the collection, not for the files that you search.
(Optional) Select a language other than English for the collection from the Language drop-down list.
4
Language attribute
norwegian
bokmal
nynorsk
polish
portuguese
russian
spanish
swedish
turkish
uni
and
tags for that collection. If you do not register a given collection
cfindex
cfsearch
and
tags for that collection.
cfsearch
Last updated 8/5/2010
attribute, you do not have to specify the
language
481
tag.
cfcollection

Advertisement

Table of Contents
loading

Table of Contents