|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Search result implementing iterator interface. 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 = [] |
Search result implementing iterator interface.
Definition at line 28 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::addObject | ( | int | $a_value, |
| float | $a_relevance = 0 |
||
| ) |
Definition at line 118 of file class.ilLuceneSearchResult.php.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::current | ( | ) |
Iterator current.
Definition at line 98 of file class.ilLuceneSearchResult.php.
References $position.
| ilLuceneSearchResult::getCandidates | ( | ) |
| ilLuceneSearchResult::getLimit | ( | ) |
Definition at line 138 of file class.ilLuceneSearchResult.php.
References $limit.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::getMaxScore | ( | ) |
Definition at line 149 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 124 of file class.ilLuceneSearchResult.php.
References getMaxScore().
Here is the call graph for this function:| ilLuceneSearchResult::getTotalHits | ( | ) |
Definition at line 159 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 89 of file class.ilLuceneSearchResult.php.
References $position.
| ilLuceneSearchResult::next | ( | ) |
Iterator next.
Definition at line 106 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::rewind | ( | ) |
Iterator rewind.
Definition at line 57 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::setCallback | ( | array | $a_callback | ) |
set search callback
| Closure[] |
Definition at line 49 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::setLimit | ( | int | $a_limit | ) |
Definition at line 133 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 144 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 154 of file class.ilLuceneSearchResult.php.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::valid | ( | ) |
Iterator valid.
Definition at line 67 of file class.ilLuceneSearchResult.php.
References ilLoggerFactory\getLogger(), and getTotalHits().
Here is the call graph for this function:
|
private |
Definition at line 36 of file class.ilLuceneSearchResult.php.
Referenced by getLimit().
|
private |
Definition at line 33 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 38 of file class.ilLuceneSearchResult.php.
Referenced by getMaxScore().
|
private |
Definition at line 40 of file class.ilLuceneSearchResult.php.
Referenced by getCandidates().
|
private |
Definition at line 34 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 41 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 37 of file class.ilLuceneSearchResult.php.
Referenced by getTotalHits().