A boolean clause.
More...
|
const | MUST = 'MUST' |
|
const | SHOULD = 'SHOULD' |
|
const | MUST_NOT = 'MUST_NOT' |
|
◆ __construct()
CirrusSearch\Parser\AST\BooleanClause::__construct |
( |
ParsedNode | $node, |
|
|
| $occur, |
|
|
| $explicit ) |
- Parameters
-
ParsedNode | $node | |
string | $occur | Specifies how this clause is to occur in matching documents. |
bool | $explicit | whether or not this node is explicitly connected acceptable values are BooleanClause::MUST, BooleanClause::MUST_NOT and BooleanClause::SHOULD |
◆ accept()
CirrusSearch\Parser\AST\BooleanClause::accept |
( |
Visitor | $visitor | ) |
|
◆ getNode()
CirrusSearch\Parser\AST\BooleanClause::getNode |
( |
| ) |
|
◆ getOccur()
CirrusSearch\Parser\AST\BooleanClause::getOccur |
( |
| ) |
|
Specifies how this clause is to occur in matching documents.
- Returns
- string
◆ isExplicit()
CirrusSearch\Parser\AST\BooleanClause::isExplicit |
( |
| ) |
|
◆ validateOccur()
static CirrusSearch\Parser\AST\BooleanClause::validateOccur |
( |
| $occur | ) |
|
|
static |
Check if $occur is valid.
- Parameters
-
The documentation for this class was generated from the following file:
- includes/Parser/AST/BooleanClause.php