Lines Matching full:search
3 * Script to search in dokuwiki documents
35 ===== DokuWiki Sphinx Search plugin features=====
37 … use the search you need to just enter your search keywords into the searchbox at the top right co…
39 === Phrase search (\"\") ===
40 Put double quotes around a set of words to enable phrase search mode. For example:
43 === Search within a namespace ===
44 You can add \"@ns\" parameter to limit the search to some namespace. For exapmle:
48 === Excluding keywords or namespaces from search ===
49 You can add a minus sign to a keyword or a category name exclude it from search. For example:
57 DokuWiki Sphinx Search plugin (version $this->_versionNumber) by [[http://www.ivinco.com/software/d…
78 if($ACT != 'search') return; // nothing to do for us
99 * do the search and displays the result
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);
128 echo 'Your search - <strong>' . $query . '</strong> - did not match any documents.<br>
129 <a href="?do=search&ssplugininfo=1&id='.$query.'">Search help</a>';
132 $result = $search->search($start, $this->getConf('maxresults'));
133 $this->_search = $search;
135 if ($search->getError()){
136 echo "Could not connect to Sphinx search engine.";
141 echo 'Your search - <strong>' . $query . '</strong> - did not match any documents.<br/>
142 <a href="?do=search&ssplugininfo=1&id='.$query.'">Search help</a>';
146 $pagesList = $search->getPages($keywords);
147 $totalFound = $search->getTotalFound();
150 echo 'Your search - <strong>' . $query . '</strong> - did not match any documents.<br/>
151 <a href="?do=search&ssplugininfo=1&id='.$query.'">Search help</a>';
155 div.dokuwiki div.search{
217 echo '<div class="search">';
255 …echo $this->external_link(wl('',array('do'=>'search','id'=>$query,'start'=>$prevNum, 'prev'=>$prev…
262 if($start + $search->getOffset()< $totalFound){
263 $next = $start + $search->getOffset();
267 …echo $this->external_link(wl('',array('do'=>'search','id'=>$query,'start'=>$next,'prev'=>$prevStri…
271 echo '<a href="?do=search&ssplugininfo=1&id='.$query.'">Search help</a>. ';
272 …o 'DokuWiki Sphinx Search plugin (version '.$this->_versionNumber.') by <a href="http://www.ivinco…
355 // don't print the search form if search action has been disabled
356 if (!actionOk('search')) return false;
358 …print '<form action="'.wl().'" accept-charset="utf-8" class="search" id="dw__search"><div class="n…
359 print '<input type="hidden" name="do" value="search" />';
361 if($ACT == 'search') print 'value="'.htmlspecialchars($QUERY).'" ';
397 $res = $this->_search->search(0, 10);