Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 518

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
Pass-through of terms
Search terms are passed through to the VDK-level and are interpreted as Verity Query Language (VQL) syntax. No
issues arise if the terms contain only alphabetic or numeric characters. Other kinds of characters might be interpreted
by the language you're using. If a term contains a character that is not handled by the specified language, it can be
interpreted as VQL. For example, a search term that includes an asterisk (*)can be interpreted as a wildcard.
Stop words
The configurable Internet query parser uses its own stop-word list, qp_inet.stp, to specify terms to ignore for natural
language processing.
Note: You can override the "stop out" by using quotation marks around the word.
For example, the following stop words are provided in the query parser's stop-word file for the English (Basic)
template:
a
did
also
do
an
does
and
find
any
for
am
from
are
get
as
got
at
had
be
has
but
have
can
how
Verity provides a populated stop-word file for the English and English (Advanced) languages. You need not modify
the qp_inet.stp file for these languages. If you use the configurable Internet query parser for another language, provide
your own qp_inet.stp file that contains the stop words that you want to ignore in that language. This stop-word file
must contain, at a minimum, the language-equivalent words for or and <or>.
Note: The configurable Internet query parser's stop-word file contains a different word list than the vdk30.stp word file,
which is used for other purposes, such as summarization.
Composing search expressions
The following rules apply to the composition of search expressions.
Case sensitivity
Verity searches are case sensitive only when the search term is entered in mixed case. For example, a search for zeus
finds zeus, Zeus, or ZEUS; however, a search for Zeus finds only Zeus.
To have your application always ignore the case that the user types, use the ColdFusion
attribute of
criteria
cfsearch
sensitivity concerns:
i
i'm
if
in
is
it
its
it's
like
not
of
on
. The following code converts user input to lowercase, thereby eliminating case
Last updated 1/20/2012
or
what
should
when
so
where
than
whether
that
which
the
who
there
whose
to
why
too
will
want
with
was
would
were
<or>
function in the
LCase
513

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents