Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Bolt
Storage
Query
SearchWeighter
setSearchWords
Bolt\Storage\Query\SearchWeighter::setSearchWords PHP Method
SearchWeighter Class Documentation
Show file
Open project: bolt/bolt
setSearchWords()
public
method
Sets the words that we want to query against. Normally this comes from the filter in a search, exploded into an array so the words are separated.
public
setSearchWords
(
array
$words
)
$words
array
public function setSearchWords(array $words) { $this->searchWords = $words; }
SearchWeighter
__construct
buildResultIndex
getContentFields
getResultScore
setContentType
setResults
setSearchWords
weight