Lines Matching refs:search
121 …$search = new SphinxSearch($this->getConf('host'), $this->getConf('port'), $this->getConf('index')…
122 $search->setSnippetSize($this->getConf('snippetsize'));
123 $search->setArroundWordsCount($this->getConf('aroundwords'));
124 $search->setTitlePriority($this->getConf('title_priority'));
125 $search->setBodyPriority($this->getConf('body_priority'));
126 $search->setNamespacePriority($this->getConf('namespace_priority'));
127 $search->setPagenamePriority($this->getConf('pagename_priority'));
130 $search->setSearchAllQuery($keywords, $categories);
132 $search->setSearchAllQueryWithCategoryFilter($keywords, $categories);
138 $result = $search->search($start, $this->getConf('maxresults'));
139 $this->_search = $search;
141 if ($search->getError()) {
152 $pagesList = $search->getPages($keywords);
153 $totalFound = $search->getTotalFound();
214 if ($start + $search->getOffset() < $totalFound) {
215 $next = $start + $search->getOffset();
352 $res = $this->_search->search(0, 10);