Lines Matching refs:keywords
32 public function setSearchAllQuery($keywords, $categories) argument
34 $keywords = $this->_sphinx->EscapeString($keywords);
35 $keywords = $this->_enableQuotesAndDefis($keywords);
36 $starKeyword = $this->starQuery($keywords);
37 $this->_query = "(@(namespace,pagename) $starKeyword) | (@(body,title) {$keywords})";
40 public function setSearchAllQueryWithCategoryFilter($keywords, $categories) argument
42 $keywords = $this->_sphinx->EscapeString($keywords);
43 $keywords = $this->_enableQuotesAndDefis($keywords);
44 $starKeyword = $this->starQuery($keywords);
48 …$this->_query = "(@(namespace,pagename) {$categories}) & ((@(body,title) {$keywords}) | (@(namespa…
51 public function setSearchCategoryQuery($keywords, $categories) argument
53 $keywords = $this->_sphinx->EscapeString($keywords);
54 $keywords = $this->_enableQuotesAndDefis($keywords);
56 $starKeyword = $this->starQuery($keywords);
92 public function getPages($keywords) argument
148 $bodyExcerpt = $this->getExcerpt($body, $keywords);
149 $titleTextExcerpt = $this->getExcerpt($titleText, $keywords);