CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Query\PrefixSearchQueryBuilder Class Reference

Build a query suited for autocomplete on titles+redirects. More...

Public Member Functions

 build (SearchContext $searchContext, $term, $variants=null)
 

Detailed Description

Build a query suited for autocomplete on titles+redirects.

Member Function Documentation

◆ build()

CirrusSearch\Query\PrefixSearchQueryBuilder::build ( SearchContext $searchContext,
$term,
$variants = null )
Parameters
SearchContext$searchContext
string$termthe original search term
array | null$variantslist of variants

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