TERMALL

The TERMALL field specifier (case sensitive) allows you to find documents with a specified field whose value contains conceptual matches of several terms you specify. A conceptual match exists if the terms you specify match terms in a specified field after they have been stemmed.

NOTE: If the language that you are using does not match the DefaultLanguageType that you have specified in the Content component configuration file, you must add the parameter to your query action.

Format

FieldText=TERMALL{yourTerms}:yourFields
yourTerms

Multiple terms. A document returns only if one of yourFields contains a value that includes terms which conceptually match the specified terms.

You can match strings that contain punctuation (but see Note) or consist of several words. Separate multiple terms with commas. There must be no space before or after a comma.

NOTE: Strings in the query must be percent-encoded to ensure that any commas or curly braces that are part of a string are not interpreted as query syntax.

If you send HTTP requests using the content-type application/x-www-form-urlencoded you must then percent-encode all parameter values, meaning that any commas or curly braces that are part of a string are percent-encoded twice (such that a comma is represented by the sequence %252c). For more information, see Percent Encoding in Queries.

yourFields One or more fields. A document returns only if it contains one of these fields, and if a term in this field conceptually matches one of yourTerms. Separate multiple fields with colons (:). There must be no space before or after a colon.

Example

FieldText=TERMALL{shopping,centers}:DRETITLE

The DRETITLE field value must contain a term that conceptually matches shopping or centers. For example, if the DRETITLE field has the value town center shop the document returns.

FieldText=TERMALL{walk,climb}:DRETITLE:TITLE

The DRETITLE or TITLE field value must contain a term that conceptually matches walking or climbing. For example, if the DRETITLE or TITLE field has the value hill walking and rock climbing the document returns.

See Also