Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

SearchEngine.php File Reference

Go to the source code of this file.

Classes

class  SearchEngine

Functions

 showHit ($row)
 goResult ()
 doFuzzyTitleSearch ($search, $namespace)
 fuzzyTitles ($sstr, $namespace=NS_MAIN)
 getTitlesByLength ($aLength, $aNamespace=0)
 SearchEngine_pcmp ($a, $b)

Variables

$this mTitlecond = " MATCH(si_title) AGAINST('$searchon' IN BOOLEAN MODE)"
$this mTextcond = " (MATCH(si_text) AGAINST('$searchon' IN BOOLEAN MODE) AND cur_is_redirect=0)"


Function Documentation

doFuzzyTitleSearch search,
namespace
 

Definition at line 512 of file SearchEngine.php.

References $res, $wgLang, $wgOut, fuzzyTitles(), and NS_MAIN.

Referenced by goResult().

fuzzyTitles sstr,
namespace = NS_MAIN
 

Definition at line 543 of file SearchEngine.php.

References $d, $i, and getTitlesByLength().

Referenced by doFuzzyTitleSearch().

getTitlesByLength aLength,
aNamespace = 0
 

Definition at line 568 of file SearchEngine.php.

References $res, $title, $wgDBname, $wgMemc, DB_READ, title, wfFetchObject(), and wfQuery().

Referenced by fuzzyTitles().

goResult  ) 
 

Definition at line 427 of file SearchEngine.php.

References $title, $wgDisableFuzzySearch, $wgDisableTextSearch, $wgGoToEdit, $wgOut, $wgRequest, doFuzzyTitleSearch(), NS_IMAGE, NS_MAIN, NS_MEDIAWIKI, NS_SPECIAL, NS_USER, NS_WP, title, and wfMsg().

SearchEngine_pcmp a,
b
 

Definition at line 615 of file SearchEngine.php.

showHit row  ) 
 

Definition at line 370 of file SearchEngine.php.

References $line, $lines, $wgOut, $wgUser, wfEscapeHTML(), and wfMsg().

Referenced by SearchEngine::showResults().


Variable Documentation

$this mTextcond = " (MATCH(si_text) AGAINST('$searchon' IN BOOLEAN MODE) AND cur_is_redirect=0)"
 

Definition at line 367 of file SearchEngine.php.

Referenced by SearchEngine::parseQuery(), and SearchEngine::showResults().

$this mTitlecond = " MATCH(si_title) AGAINST('$searchon' IN BOOLEAN MODE)"
 

Definition at line 366 of file SearchEngine.php.

Referenced by SearchEngine::parseQuery(), and SearchEngine::showResults().


Generated on Tue Jun 29 23:40:12 2004 for Mediawiki by doxygen 1.3.7