- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
- Enclosing class:
public static class StructuredStatement.Mode
- extends Enum
ATG Search handles natural language and Boolean queries. Simple Boolean syntax is handled automatically as part of
the natural language processing, but complex Boolean expressions require a special mode of processing. Furthermore,
ATG Search can support simple keyword search behavior in several additional modes. These modes are controlled by
The value can be nlp, for natural language and simple Boolean queries. This is the default value. The value can
also be boolean, for parsing of complex Boolean expressions.
The value can also be keyword, which handles natural language queries in a simplistic keyword search model.
Essentially, ATG Search parses the query as normal, but each query term is double-quoted and required to appear in
the index items of the results.
The value can also be and, which handles natural language queries in an expanded keyword search model. Essentially,
ATG Search parses the query as normal, but each query term is required to appear in the index items of the results.
This is similar to the keyword mode, but without the double-quotes, which means the query terms could match
morphological variants and use term expansions.
The value can also be matchall, which handles natural language queries as a Boolean AND of terms, as opposed to ATG
Search's default Boolean OR. Essentially, ATG Search parses the query as normal, but each query term is required to
appear in the result statements.
- See Also:
- Serialized Form
|Methods inherited from class atg.core.util.Enum
compareTo, getEnumClassInfo, getOrdinal, iterator, iterator, lookup, lookup, lookup, lookup, readResolve, toString
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final java.lang.String CLASS_VERSION
- Class version string
- See Also:
- Constant Field Values
public static final StructuredStatement.Mode NLP
public static final StructuredStatement.Mode BOOLEAN
- Deprecated. as of 9.0. Use
public static final StructuredStatement.Mode KEYWORD
public static final StructuredStatement.Mode AND
public static final StructuredStatement.Mode ALL
public static final StructuredStatement.Mode BOOLEAN_STMT
public static final StructuredStatement.Mode BOOLEAN_DOC
public static StructuredStatement.Mode valueOf(java.lang.String pName)