Lines Matching refs:search
115 …$search = new SphinxSearch($this->getConf('host'), $this->getConf('port'), $this->getConf('index')…
116 $search->setSnippetSize($this->getConf('snippetsize'));
117 $search->setArroundWordsCount($this->getConf('aroundwords'));
118 $search->setTitlePriority($this->getConf('title_priority'));
119 $search->setBodyPriority($this->getConf('body_priority'));
120 $search->setNamespacePriority($this->getConf('namespace_priority'));
121 $search->setPagenamePriority($this->getConf('pagename_priority'));
124 $search->setSearchAllQuery($keywords, $categories);
126 $search->setSearchAllQueryWithCategoryFilter($keywords, $categories);
132 $result = $search->search($start, $this->getConf('maxresults'));
133 $this->_search = $search;
135 if ($search->getError()){
146 $pagesList = $search->getPages($keywords);
147 $totalFound = $search->getTotalFound();
262 if($start + $search->getOffset()< $totalFound){
263 $next = $start + $search->getOffset();
397 $res = $this->_search->search(0, 10);