SYNOPSIS

DESCRIPTION

CQL::Relation represents the common \s-1CQL\s0 relation operations ( =, >, <, any, all and exact. In addition modifiers may be applied (stem, relevant, fuzzy, phonetic). The operators are passed into the constructor as the base relation.

METHODS

\fInew()\fP

Creates a new CQL::Relation object with the specified base relation.

\fIgetBase()\fP

Returns the base relation with which the CQL::Relation object was originally created.

\fIaddModifier()\fP

Adds a new relation modifier to the specified CQLRelation. Typical relation modifiers include relevant, fuzzy stem and phonetic. On the whole, these modifiers have a meaningful interpretation only for the text relations.

\fIgetModifiers()\fP

Returns a list of modifiers associated with a \s-1CQL\s0 relation.

\fItoCQL()\fP

\fItoSwish()\fP

\fItoXCQL()\fP

\fItoLucene()\fP