User Guide

Table Of Contents
552 Chapter 24: Building a Search Interface
For English language support, Verity provides two options: English (Basic) and English
(Advanced). The default language for Verity collections is English (Basic). Indexing a collection
using English (Basic) is faster than using English (Advanced), however, English (Advanced)
provides better search results.
You must specify a language when you create the collection. The language you specify should
match the language the documents were authored in. By specifying the language your documents
are written in, Verity is able to correctly interpret accented characters, and use variations of word
stems and roots. If you have documents in several languages, create separate collections for each of
them.
To specify a language when you are indexing data, select the language from the drop-down list
when you create a collection with the ColdFusion MX Administrator. In CFML, the
cfcollection, cfindex, and cfsearch tags have an optional language attribute that you use to
specify the language of the collection.
Use the following table to find the correct value for the
language attribute for your collection; for
example, the following code creates a collection for simplified Chinese:
<cfcollection action = "create" collection = "lei_01"
path = "c:\CFusionMX7\verity\collections"
language = "simplified_chinese">
The following table lists the languages names and attributes that ColdFusion supports:
Language Language attribute
Arabic arabic
Chinese (simplified) simplified_chinese
Chinese (traditional) traditional_chinese
Czech czech
Danish danish
Dutch dutch
English (Basic) english
English (Advanced) englishx
Finnish finnish
French french
German german
Greek greek
Hebrew hebrew
Hungarian hungarian
Italian italian
Japanese japanese
Korean korean