ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Parses result XML from lucene search highlight. More...
Public Member Functions | |
__construct () | |
Contructor. More... | |
getMaxScore () | |
setMaxScore ($a_score) | |
getRelevance ($a_obj_id, $sub_id) | |
get relevance More... | |
setResultString ($a_res) | |
set result xml string More... | |
getResultString () | |
get result xml string More... | |
parse () | |
parse More... | |
getTitle ($a_obj_id, $a_sub_id) | |
get title More... | |
getDescription ($a_obj_id, $a_sub_id) | |
get description More... | |
getContent ($a_obj_id, $a_sub_id) | |
get content More... | |
getSubItemIds ($a_obj_id) | |
get subitem ids More... | |
Private Attributes | |
$result_string = '' | |
$result = array() | |
$max_score = 0 | |
Parses result XML from lucene search highlight.
Definition at line 34 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::__construct | ( | ) |
ilLuceneHighlighterResultParser::getContent | ( | $a_obj_id, | |
$a_sub_id | |||
) |
get content
int | obj_id |
int | sub_item |
Definition at line 165 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::getDescription | ( | $a_obj_id, | |
$a_sub_id | |||
) |
get description
int | obj_id |
int | sub_item |
Definition at line 154 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::getMaxScore | ( | ) |
Definition at line 53 of file class.ilLuceneHighlighterResultParser.php.
References $max_score.
Referenced by getRelevance().
ilLuceneHighlighterResultParser::getRelevance | ( | $a_obj_id, | |
$sub_id | |||
) |
get relevance
int | obj_id |
Definition at line 68 of file class.ilLuceneHighlighterResultParser.php.
References getMaxScore().
ilLuceneHighlighterResultParser::getResultString | ( | ) |
get result xml string
Definition at line 95 of file class.ilLuceneHighlighterResultParser.php.
References $result_string.
Referenced by parse().
ilLuceneHighlighterResultParser::getSubItemIds | ( | $a_obj_id | ) |
get subitem ids
Definition at line 175 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::getTitle | ( | $a_obj_id, | |
$a_sub_id | |||
) |
get title
int | obj_id |
int | sub_item |
Definition at line 143 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::parse | ( | ) |
parse
Definition at line 104 of file class.ilLuceneHighlighterResultParser.php.
References $name, ilLoggerFactory\getLogger(), getResultString(), setMaxScore(), and string.
ilLuceneHighlighterResultParser::setMaxScore | ( | $a_score | ) |
Definition at line 58 of file class.ilLuceneHighlighterResultParser.php.
Referenced by parse().
ilLuceneHighlighterResultParser::setResultString | ( | $a_res | ) |
set result xml string
Definition at line 85 of file class.ilLuceneHighlighterResultParser.php.
|
private |
Definition at line 40 of file class.ilLuceneHighlighterResultParser.php.
Referenced by getMaxScore().
|
private |
Definition at line 37 of file class.ilLuceneHighlighterResultParser.php.
|
private |
Definition at line 36 of file class.ilLuceneHighlighterResultParser.php.
Referenced by getResultString().