AgentBooleanField
A document field that contains AgentBoolean matching expressions.
AgentBoolean fields contain Boolean or Proximity matching expressions. In an AgentBoolean query, the query matches the query text against document content, and then checks the AgentBoolean field for matching documents. If the AgentBoolean expression also matches the query text, Distributed Action Handler returns the document as a result.
For example:
action=Query&Text=The cat sat on the mat&AgentBooleanField=MyBooleanField
This query returns a document if:
-
the document text matches at least one of the terms the cat sat on the mat.
-
the
MyBooleanField
contains a Boolean or Proximity expression that matches the cat sat on the mat, for example,cat AND mat
,cat OR mat
,cat BEFORE mat
andcat DNEAR1 sat
.
If the text matches, but the MyBooleanField contains an expression that does not match (for example, cat AND mat AND dog
or mat BEFORE dog
), the document does not return.
NOTE: You can also use fuzzy operators such as DREFUZZY
and DREFUZZY
N
in AgentBoolean expressions.
Actions: | Query |
Type: | String |
Default: | |
Example: | AgentBooleanField=MyBooleanField
|
See Also: | FieldTextField
TextParse |