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

Simple factory to create QueryParser instance based on the host wiki config. More...

Static Public Member Functions

static newFullTextQueryParser (SearchConfig $config, NamespacePrefixParser $namespacePrefix, CirrusSearchHookRunner $cirrusSearchHookRunner, SparqlClient $client=null)
 Get the default fulltext parser.
 

Detailed Description

Simple factory to create QueryParser instance based on the host wiki config.

See also
QueryParser

Member Function Documentation

◆ newFullTextQueryParser()

static CirrusSearch\Parser\QueryParserFactory::newFullTextQueryParser ( SearchConfig $config,
NamespacePrefixParser $namespacePrefix,
CirrusSearchHookRunner $cirrusSearchHookRunner,
SparqlClient $client = null )
static

Get the default fulltext parser.

Parameters
SearchConfig$configthe host wiki config
NamespacePrefixParser$namespacePrefix
CirrusSearchHookRunner$cirrusSearchHookRunner
SparqlClient | null$client
Returns
QueryParser
Exceptions
ParsedQueryClassifierException

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