Managing Collections; Maintenance Options - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

180
Verity Search Modifiers (Continued)
Modifier
NOT
ORDER

Managing Collections

As with any data source, the maintenance requirements of a Verity collection are
dictated by the amount, frequency, and type of changes that occur in the records. You
can run maintenance routines directly from either the CFCOLLECTION or CFINDEX
tags or via the Administrator Verity page. For more information on this topic, see the
Allaire Knowledge Base article, "Maintaining Collections" (ID# 1080) on our Web site at
http://www.allaire.com/Support/KnowledgeBase/SearchForm.cfm.
The easiest way to perform collection management tasks is to create a ColdFusion
template that runs the operations, then add the task on the Administrator Scheduler
page. The page presents a wide range of scheduling options.

Maintenance options

Choose an option based on the following function descriptions.
Repair — Runs internal Verity routines to fix corrupted records. If you suspect a
collection has become corrupted, it is probably safest to re-populate it.
Optimize — Packs the indexed data for better performance. This is similar to
database optimization. This procedure can be used as part of routine
maintenance. The Optimize action is deprecated for CFINDEX except to
maintain legacy code; the CFCOLLECTION tag is recommended instead. For
more information on this command, see the Allaire Knowledge Base article,
"How To Optimize Your Verity Collection" (ID# 416) on our Web site at
www.allaire.com/Support/KnowledgeBase/SearchForm.cfm.
Purge — Removes all data from a collection.
Description
Used to exclude documents that contain the specified word or phrase.
Used only with the AND and OR operators.
Java <AND> programming <NOT> coffee
Used to specify that the search elements must occur on the same order
in which they were specified in the query. Can be used with the
following operators:
PARAGRAPH
SENTENCE
NEAR/N
Place the ORDER modifier before any operator:
<ORDER><PARAGRAPH>("server", "Java")
Developing Web Applications with ColdFusion
http://

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents