Helper class to build ArrayCirrusSearchResult instances.
More...
Helper class to build ArrayCirrusSearchResult instances.
◆ __construct()
CirrusSearch\Search\CirrusSearchResultBuilder::__construct |
( |
Title | $title, |
|
|
| $docId ) |
◆ addExtraField()
CirrusSearch\Search\CirrusSearchResultBuilder::addExtraField |
( |
string | $name, |
|
|
| $value ) |
◆ build()
CirrusSearch\Search\CirrusSearchResultBuilder::build |
( |
| ) |
|
- Returns
- ArrayCirrusSearchResult
◆ byteSize()
CirrusSearch\Search\CirrusSearchResultBuilder::byteSize |
( |
| $byteSize | ) |
|
◆ categorySnippet()
CirrusSearch\Search\CirrusSearchResultBuilder::categorySnippet |
( |
| $categorySnippet | ) |
|
- Parameters
-
- Returns
- CirrusSearchResultBuilder
◆ categorySnippetField()
CirrusSearch\Search\CirrusSearchResultBuilder::categorySnippetField |
( |
| $categorySnippetField | ) |
|
- Parameters
-
string | $categorySnippetField | |
- Returns
- CirrusSearchResultBuilder
◆ explanation()
CirrusSearch\Search\CirrusSearchResultBuilder::explanation |
( |
array | $explanation | ) |
|
◆ fileMatch()
CirrusSearch\Search\CirrusSearchResultBuilder::fileMatch |
( |
| $fileMatch | ) |
|
◆ interwikiNamespaceText()
CirrusSearch\Search\CirrusSearchResultBuilder::interwikiNamespaceText |
( |
| $interwikiNamespaceText | ) |
|
- Parameters
-
string | $interwikiNamespaceText | |
- Returns
- self
◆ redirectSnippet()
CirrusSearch\Search\CirrusSearchResultBuilder::redirectSnippet |
( |
| $redirectSnippet | ) |
|
◆ redirectSnippetField()
CirrusSearch\Search\CirrusSearchResultBuilder::redirectSnippetField |
( |
| $redirectSnippetField | ) |
|
- Parameters
-
string | $redirectSnippetField | |
- Returns
- self
◆ redirectTitle()
CirrusSearch\Search\CirrusSearchResultBuilder::redirectTitle |
( |
| $redirectTitle | ) |
|
◆ reset()
CirrusSearch\Search\CirrusSearchResultBuilder::reset |
( |
Title | $title, |
|
|
| $docId ) |
Reset the current builder to reuse its instance.
- Parameters
-
- Returns
- self
◆ score()
CirrusSearch\Search\CirrusSearchResultBuilder::score |
( |
| $score | ) |
|
◆ sectionSnippet()
CirrusSearch\Search\CirrusSearchResultBuilder::sectionSnippet |
( |
| $sectionSnippet | ) |
|
◆ sectionSnippetField()
CirrusSearch\Search\CirrusSearchResultBuilder::sectionSnippetField |
( |
| $sectionSnippetField | ) |
|
- Parameters
-
string | $sectionSnippetField | |
- Returns
- self
◆ sectionTitle()
CirrusSearch\Search\CirrusSearchResultBuilder::sectionTitle |
( |
Title | $sectionTitle | ) |
|
◆ textSnippet()
CirrusSearch\Search\CirrusSearchResultBuilder::textSnippet |
( |
| $textSnippet | ) |
|
◆ textSnippetField()
CirrusSearch\Search\CirrusSearchResultBuilder::textSnippetField |
( |
| $textSnippetField | ) |
|
◆ timestamp()
CirrusSearch\Search\CirrusSearchResultBuilder::timestamp |
( |
MWTimestamp | $timestamp | ) |
|
◆ titleSnippet()
CirrusSearch\Search\CirrusSearchResultBuilder::titleSnippet |
( |
| $titleSnippet | ) |
|
◆ titleSnippetField()
CirrusSearch\Search\CirrusSearchResultBuilder::titleSnippetField |
( |
| $titleSnippetField | ) |
|
◆ wordCount()
CirrusSearch\Search\CirrusSearchResultBuilder::wordCount |
( |
| $wordCount | ) |
|
The documentation for this class was generated from the following file:
- includes/Search/CirrusSearchResultBuilder.php