MediaWiki  1.23.8
PostgresSearchResult Class Reference
Inheritance diagram for PostgresSearchResult:
Collaboration diagram for PostgresSearchResult:

Public Member Functions

 __construct ( $row)
 
 getScore ()
 
- Public Member Functions inherited from SearchResult
 getByteSize ()
 
 getFile ()
 Get the file for this page, if one exists. More...
 
 getInterwikiNamespaceText ()
 
 getInterwikiPrefix ()
 
 getRedirectSnippet ()
 
 getRedirectTitle ()
 
 getSectionSnippet ()
 
 getSectionTitle ()
 
 getTextSnippet ( $terms)
 
 getTimestamp ()
 
 getTitle ()
 
 getTitleSnippet ()
 
 getWordCount ()
 
 hasRelated ()
 
 isBrokenTitle ()
 Check if this is result points to an invalid title. More...
 
 isFileMatch ()
 Did this match file contents (eg: PDF/DJVU)? More...
 
 isMissingRevision ()
 Check if target page is missing, happens when index is out of date. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SearchResult
static newFromRow ( $row)
 Return a new SearchResult and initializes it with a row. More...
 
static newFromTitle ( $title)
 Return a new SearchResult and initializes it with a title. More...
 
- Protected Member Functions inherited from SearchResult
 initFromRow ( $row)
 Initialize from a database row. More...
 
 initFromTitle ( $title)
 Initialize from a Title and if possible initializes a corresponding Revision and File. More...
 
 initText ()
 Lazy initialization of article text from DB. More...
 
- Protected Attributes inherited from SearchResult
File $mImage = null
 
Revision $mRevision = null
 
String $mText
 
Title $mTitle
 

Detailed Description

Definition at line 210 of file SearchPostgres.php.

Constructor & Destructor Documentation

◆ __construct()

PostgresSearchResult::__construct (   $row)

Reimplemented from SearchResult.

Definition at line 211 of file SearchPostgres.php.

Member Function Documentation

◆ getScore()

PostgresSearchResult::getScore ( )
Returns
float|null if not supported

Reimplemented from SearchResult.

Definition at line 216 of file SearchPostgres.php.


The documentation for this class was generated from the following file: