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

Parse non-phrase query parts. More...

Public Member Functions

 __construct (Escaper $escaper)
 
 parse (string $query, int $start, int $end)
 

Detailed Description

Parse non-phrase query parts.

Emit a ParsedQueryStringNode if lucene QueryString syntax is detected A WordsQueryNode otherwise.

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Parser\QueryStringRegex\NonPhraseParser::__construct ( Escaper $escaper)
Parameters
Escaper$escaper

Member Function Documentation

◆ parse()

CirrusSearch\Parser\QueryStringRegex\NonPhraseParser::parse ( string $query,
int $start,
int $end )
Parameters
string$query
int$start
int$end
Returns
ParsedNode|null

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