Simple Query Expressions; Explicit Query Expressions; Expression Syntax - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

166
pass a simple query expression to the search engine directly from an HTML input
form.
The Verity query language provides many operators and modifiers for composing
queries. The following search techniques can be used in searching a Verity collection:
Word searches
Proximity searches
Concept–based
Field searches in which documents are match based on matching predefined
custom attributes
Scoring operators

Simple query expressions

Simple queries allow end users to enter simple, comma-delimited strings and use
wildcard characters. You can enter multiple words separated by commas, in which
case the comma is treated like a logical OR. If you omit the commas, the query
expression is treated as a phrase.
Ordinarily, operators are employed in explicit query expressions. Operators are
normally surrounded by angle brackets < >. However, you can use the AND, OR, and
NOT operators in a simple query without using angle brackets.
A simple query employs the STEM operator and the MANY modifier. STEM searches
for words that derive from those entered in the query expression, so that entering
"find" will return documents that contain "find," "finding," "finds," etc. The MANY
modifier forces the documents returned in the search to be presented in a list based on
a relevancy score.

Explicit query expressions

Explicit queries can be constructed using a variety of operators, which are described
below. Most operators in an explicit query expression are surrounded by angle brackets
< >. You can use the AND, OR, and NOT operators without angle brackets.

Expression syntax

You can use either simple or explicit syntax when stating simple query syntax. The
syntax you use determines whether the search words you enter will be stemmed, and
whether the words that are found will contribute to relevance-ranked scoring.
Simple syntax
When you use simple syntax, the search engine implicitly interprets single words as if
they were modified by the MANY and STEM operators. By implicitly applying the
MANY modifier, the search engine calculates each document's score based on the
Developing Web Applications with ColdFusion

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 4.5

Table of Contents