|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Parses result XML from lucene search highlight. More...
Collaboration diagram for ilLuceneHighlighterResultParser:Public Member Functions | |
| getMaxScore () | |
| setMaxScore (float $score) | |
| getRelevance (int $obj_id, int $sub_id, string $sub_type) | |
| setResultString (string $a_res) | |
| getResultString () | |
| parse () | |
| parse More... | |
| getTitle (int $obj_id, int $sub_id, string $sub_type) | |
| getDescription (int $obj_id, int $sub_id, string $sub_type) | |
| getContent (int $obj_id, int $sub_id, string $sub_type) | |
| getSubItemIds (int $obj_id) | |
Private Attributes | |
| string | $result_string = '' |
| array | $result = [] |
| float | $max_score = 0 |
Parses result XML from lucene search highlight.
Definition at line 30 of file class.ilLuceneHighlighterResultParser.php.
| ilLuceneHighlighterResultParser::getContent | ( | int | $obj_id, |
| int | $sub_id, | ||
| string | $sub_type | ||
| ) |
Definition at line 113 of file class.ilLuceneHighlighterResultParser.php.
Referenced by ILIAS\Search\Presentation\Result\ResultPresenterImpl\getLuceneSearchResultAsPanel().
Here is the caller graph for this function:| ilLuceneHighlighterResultParser::getDescription | ( | int | $obj_id, |
| int | $sub_id, | ||
| string | $sub_type | ||
| ) |
Definition at line 108 of file class.ilLuceneHighlighterResultParser.php.
Referenced by ILIAS\Search\Presentation\Result\ResultPresenterImpl\getLuceneSearchResultAsPanel().
Here is the caller graph for this function:| ilLuceneHighlighterResultParser::getMaxScore | ( | ) |
Definition at line 38 of file class.ilLuceneHighlighterResultParser.php.
References $max_score.
Referenced by getRelevance().
Here is the caller graph for this function:| ilLuceneHighlighterResultParser::getRelevance | ( | int | $obj_id, |
| int | $sub_id, | ||
| string | $sub_type | ||
| ) |
Definition at line 48 of file class.ilLuceneHighlighterResultParser.php.
References getMaxScore().
Referenced by ILIAS\Search\Presentation\Result\ResultPresenterImpl\getLuceneSearchResultAsPanel().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLuceneHighlighterResultParser::getResultString | ( | ) |
Definition at line 63 of file class.ilLuceneHighlighterResultParser.php.
References $result_string.
Referenced by parse().
Here is the caller graph for this function:| ilLuceneHighlighterResultParser::getSubItemIds | ( | int | $obj_id | ) |
Definition at line 121 of file class.ilLuceneHighlighterResultParser.php.
References $data, and ILIAS\Repository\int().
Referenced by ILIAS\Search\Presentation\Result\ResultPresenterImpl\getLuceneSearchResultAsPanel().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLuceneHighlighterResultParser::getTitle | ( | int | $obj_id, |
| int | $sub_id, | ||
| string | $sub_type | ||
| ) |
Definition at line 103 of file class.ilLuceneHighlighterResultParser.php.
Referenced by ILIAS\Search\Presentation\Result\ResultPresenterImpl\getLuceneSearchResultAsPanel().
Here is the caller graph for this function:| ilLuceneHighlighterResultParser::parse | ( | ) |
parse
Definition at line 72 of file class.ilLuceneHighlighterResultParser.php.
References ilLoggerFactory\getLogger(), getResultString(), and setMaxScore().
Here is the call graph for this function:| ilLuceneHighlighterResultParser::setMaxScore | ( | float | $score | ) |
Definition at line 43 of file class.ilLuceneHighlighterResultParser.php.
Referenced by parse().
Here is the caller graph for this function:| ilLuceneHighlighterResultParser::setResultString | ( | string | $a_res | ) |
Definition at line 58 of file class.ilLuceneHighlighterResultParser.php.
|
private |
Definition at line 34 of file class.ilLuceneHighlighterResultParser.php.
Referenced by getMaxScore().
|
private |
Definition at line 33 of file class.ilLuceneHighlighterResultParser.php.
|
private |
Definition at line 32 of file class.ilLuceneHighlighterResultParser.php.
Referenced by getResultString().