|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilLuceneSearchResult:
Collaboration diagram for ilLuceneSearchResult:Public Member Functions | |
| setCallback (array $a_callback) | |
| set search callback More... | |
| rewind () | |
| Iterator rewind. More... | |
| valid () | |
| Iterator valid. More... | |
| key () | |
| Iterator key. More... | |
| current () | |
| Iterator current. More... | |
| next () | |
| Iterator next. More... | |
| getCandidates () | |
| addObject (int $a_value, float $a_relevance=0) | |
| getRelevance (int $a_obj_id) | |
| setLimit (int $a_limit) | |
| getLimit () | |
| setMaxScore (float $a_score) | |
| getMaxScore () | |
| setTotalHits (int $a_hits) | |
| getTotalHits () | |
Private Attributes | |
| array | $listener = [] |
| int | $position = 0 |
| int | $limit = 0 |
| int | $total_hits = 0 |
| float | $max_score = 0 |
| array | $objects = [] |
| array | $relevance = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Search result implementing iterator interface.
Definition at line 27 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::addObject | ( | int | $a_value, |
| float | $a_relevance = 0 |
||
| ) |
Definition at line 117 of file class.ilLuceneSearchResult.php.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::current | ( | ) |
Iterator current.
Definition at line 97 of file class.ilLuceneSearchResult.php.
References $position.
| ilLuceneSearchResult::getCandidates | ( | ) |
Definition at line 112 of file class.ilLuceneSearchResult.php.
References $objects.
| ilLuceneSearchResult::getLimit | ( | ) |
Definition at line 137 of file class.ilLuceneSearchResult.php.
References $limit.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::getMaxScore | ( | ) |
Definition at line 148 of file class.ilLuceneSearchResult.php.
References $max_score.
Referenced by getRelevance().
Here is the caller graph for this function:| ilLuceneSearchResult::getRelevance | ( | int | $a_obj_id | ) |
Definition at line 123 of file class.ilLuceneSearchResult.php.
References getMaxScore().
Here is the call graph for this function:| ilLuceneSearchResult::getTotalHits | ( | ) |
Definition at line 158 of file class.ilLuceneSearchResult.php.
References $total_hits.
Referenced by valid().
Here is the caller graph for this function:| ilLuceneSearchResult::key | ( | ) |
Iterator key.
Definition at line 88 of file class.ilLuceneSearchResult.php.
References $position.
| ilLuceneSearchResult::next | ( | ) |
Iterator next.
Definition at line 105 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::rewind | ( | ) |
Iterator rewind.
Definition at line 56 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::setCallback | ( | array | $a_callback | ) |
set search callback
| Closure[] |
Definition at line 48 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::setLimit | ( | int | $a_limit | ) |
Definition at line 132 of file class.ilLuceneSearchResult.php.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::setMaxScore | ( | float | $a_score | ) |
Definition at line 143 of file class.ilLuceneSearchResult.php.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::setTotalHits | ( | int | $a_hits | ) |
Definition at line 153 of file class.ilLuceneSearchResult.php.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::valid | ( | ) |
Iterator valid.
return
Definition at line 66 of file class.ilLuceneSearchResult.php.
References ilLoggerFactory\getLogger(), and getTotalHits().
Here is the call graph for this function:
|
private |
Definition at line 35 of file class.ilLuceneSearchResult.php.
Referenced by getLimit().
|
private |
Definition at line 32 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 37 of file class.ilLuceneSearchResult.php.
Referenced by getMaxScore().
|
private |
Definition at line 39 of file class.ilLuceneSearchResult.php.
Referenced by getCandidates().
|
private |
Definition at line 33 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 40 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 36 of file class.ilLuceneSearchResult.php.
Referenced by getTotalHits().