Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 516

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
Using Internet queries
With the Internet query parser, users can search entire documents or parts of documents (zones and fields) entering
words, phrases, and plain language like what many web search engines use. Adobe ColdFusion supports two Internet
query parsers in the
cfsearch type
Uses standard, web-style query syntax. For more information, see
Internet
Like Internet. This query parser enhances performance, but produces less accurate relevancy statistics.
Internet_basic
Note: Verity also includes the Internet_BasicWeb and Internet_AdvancedWeb query parsers, which are not directly
supported by ColdFusion.
Search terms
In a search form enabled with the Internet query parser, users can enter words, phrases, and plain language. The
Internet parser does not support the Verity query language (VQL).
Words
To search for multiple words, separate them with spaces.
Phrases
To search for an exact phrase, surround it with double-quotation marks. A string of capitalized words is assumed to
be a name. Separate a series of names with commas. Commas aren't needed when the phrases are surrounded by
quotation marks.
The following example searches for a document that contains the phrases "San Francisco" and "sourdough bread":
"San Francisco" "sourdough bread"
Plain language
To search with plain language, enter a question or concept. The Internet Query Parser identifies the important words
and searches for them. For example, enter a question such as:
Where is the sales office in San Francisco?
This query produces the same results as entering:
sales office San Francisco
Including and excluding search terms
You can limit searches by excluding or requiring search terms, or by limiting the areas of the document that are
searched.
A minus sign (–) immediately preceding a search term (word or phrase) excludes documents containing the term.
A plus sign (+) immediately preceding a search term (word or phrase) means that returned documents are guaranteed
to contain the term.
If neither sign is associated with the search term, the results can include documents that do not contain the specified
term as long as they meet other search criteria.
Field searches
The Internet parser lets users perform field searches. The fields that are available for searching depend on field
extraction rules based on the document type of the documents in the collection.
attribute.
Last updated 1/20/2012
"Query
syntax" on page 512.
511

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents