QueryBuilderInterface
in
SOLR QueryBuilder interface definition.
Tags
Table of Contents
- build() : ParamBag
- Build query based on VuFind query object.
- setCreateSpellingQuery() : void
- Control whether or not the QueryBuilder should create a spellcheck.q parameter. (Turned off by default).
Methods
build()
Build query based on VuFind query object.
public
build(AbstractQuery $query[, ParamBag|null $params = null ]) : ParamBag
Parameters
- $query : AbstractQuery
-
User query
- $params : ParamBag|null = null
-
Search backend parameters
Return values
ParamBag —setCreateSpellingQuery()
Control whether or not the QueryBuilder should create a spellcheck.q parameter. (Turned off by default).
public
setCreateSpellingQuery(bool $enable) : void
Parameters
- $enable : bool
-
Should spelling query generation be enabled?