CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Parser\AST\WildcardNode Class Reference

Wildcard query. More...

+ Inheritance diagram for CirrusSearch\Parser\AST\WildcardNode:
+ Collaboration diagram for CirrusSearch\Parser\AST\WildcardNode:

Public Member Functions

 __construct ( $startOffset, $endOffset, $wildcard)
 
 toArray ()
 
 getWildcardQuery ()
 The wildcard query.
 
 accept (Visitor $visitor)
 
- Public Member Functions inherited from CirrusSearch\Parser\AST\ParsedNode
 __construct ( $startOffset, $endOffset)
 
 getStartOffset ()
 
 getEndOffset ()
 

Additional Inherited Members

- Protected Member Functions inherited from CirrusSearch\Parser\AST\ParsedNode
 baseParams ()
 

Detailed Description

Wildcard query.

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Parser\AST\WildcardNode::__construct ( $startOffset,
$endOffset,
$wildcard )
Parameters
int$startOffset
int$endOffset
string$wildcardthe wildcard query (should remain as written by the user)

Member Function Documentation

◆ accept()

CirrusSearch\Parser\AST\WildcardNode::accept ( Visitor $visitor)
Parameters
Visitor$visitor

Implements CirrusSearch\Parser\AST\Visitor\Visitable.

◆ getWildcardQuery()

CirrusSearch\Parser\AST\WildcardNode::getWildcardQuery ( )

The wildcard query.

Beware that it may contain potentially slow queries:

  • leading wildcards
  • non negligible number of wildcards
    Returns
    string

◆ toArray()

CirrusSearch\Parser\AST\WildcardNode::toArray ( )
Returns
array

Reimplemented from CirrusSearch\Parser\AST\ParsedNode.


The documentation for this class was generated from the following file: