|
ILIAS
Release_4_0_x_branch Revision 61816
|
Search result implementing iterator interface. More...
Inheritance diagram for ilLuceneSearchResult:
Collaboration diagram for ilLuceneSearchResult:Public Member Functions | |
| __construct () | |
| Constructor. | |
| setCallback ($a_callback) | |
| set search callback | |
| rewind () | |
| Iterator rewind. | |
| valid () | |
| Iterator valid. | |
| key () | |
| Iterator key. | |
| current () | |
| Iterator current. | |
| next () | |
| Iterator next. | |
| getCandidates () | |
| get candidates | |
| addObject ($a_value, $a_relevance=0) | |
| Add object entry. | |
| getRelevance ($a_obj_id) | |
| get relevance | |
| setLimit ($a_limit) | |
| getLimit () | |
| setMaxScore ($a_score) | |
| getMaxScore () | |
| setTotalHits ($a_hits) | |
| set total hits | |
| getTotalHits () | |
| get total hits | |
Private Attributes | |
| $listener | |
| $position = 0 | |
| $limit = 0 | |
| $total_hits = 0 | |
| $max_score = 0 | |
| $objects | |
| $relevance | |
Search result implementing iterator interface.
Definition at line 34 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::__construct | ( | ) |
Constructor.
| string | search result |
Definition at line 52 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::addObject | ( | $a_value, | |
$a_relevance = 0 |
|||
| ) |
Add object entry.
| int | key |
| int | value |
Definition at line 150 of file class.ilLuceneSearchResult.php.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::current | ( | ) |
Iterator current.
Definition at line 117 of file class.ilLuceneSearchResult.php.
References $position.
| ilLuceneSearchResult::getCandidates | ( | ) |
get candidates
| @return |
Definition at line 138 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::getLimit | ( | ) |
| @return |
Definition at line 186 of file class.ilLuceneSearchResult.php.
References $limit.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::getMaxScore | ( | ) |
| @return |
Definition at line 207 of file class.ilLuceneSearchResult.php.
References $max_score.
Referenced by getRelevance().
Here is the caller graph for this function:| ilLuceneSearchResult::getRelevance | ( | $a_obj_id | ) |
get relevance
| int | obj_id |
Definition at line 161 of file class.ilLuceneSearchResult.php.
References getMaxScore().
Here is the call graph for this function:| ilLuceneSearchResult::getTotalHits | ( | ) |
get total hits
| @return |
Definition at line 226 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 108 of file class.ilLuceneSearchResult.php.
References $position.
| ilLuceneSearchResult::next | ( | ) |
Iterator next.
Definition at line 126 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::rewind | ( | ) |
Iterator rewind.
Definition at line 70 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::setCallback | ( | $a_callback | ) |
set search callback
| @return |
Definition at line 61 of file class.ilLuceneSearchResult.php.
| ilLuceneSearchResult::setLimit | ( | $a_limit | ) |
| @return |
Definition at line 176 of file class.ilLuceneSearchResult.php.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::setMaxScore | ( | $a_score | ) |
| @return |
Definition at line 197 of file class.ilLuceneSearchResult.php.
Referenced by ilLuceneSearchResultParser\parse().
Here is the caller graph for this function:| ilLuceneSearchResult::setTotalHits | ( | $a_hits | ) |
set total hits
Definition at line 216 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 80 of file class.ilLuceneSearchResult.php.
References $ilLog, and getTotalHits().
Here is the call graph for this function:
|
private |
Definition at line 39 of file class.ilLuceneSearchResult.php.
Referenced by getLimit().
|
private |
Definition at line 36 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 41 of file class.ilLuceneSearchResult.php.
Referenced by getMaxScore().
|
private |
Definition at line 43 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 37 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 44 of file class.ilLuceneSearchResult.php.
|
private |
Definition at line 40 of file class.ilLuceneSearchResult.php.
Referenced by getTotalHits().