|
ILIAS
Release_5_0_x_branch Revision 61816
|
Reads and parses lucene search results. More...
Collaboration diagram for ilLuceneSearcher:Public Member Functions | |
| setType ($a_type) | |
| Set search type. | |
| getType () | |
| Get type. | |
| search () | |
| Search. | |
| highlight ($a_obj_ids) | |
| Highlight/Detail query. | |
| nextResultPage () | |
| get next result page | |
| getHighlighter () | |
| get highlighter | |
| getResult () | |
| Get result. | |
| getPageNumber () | |
| get current page number | |
Static Public Member Functions | |
| static | getInstance (ilLuceneQueryParser $qp) |
| Get singleton instance. | |
Data Fields | |
| const | TYPE_STANDARD = 1 |
| const | TYPE_USER = 2 |
Protected Member Functions | |
| performSearch () | |
| search lucene | |
Private Member Functions | |
| __construct ($qp) | |
| Constructor. | |
Private Attributes | |
| $query_parser = null | |
| $result = null | |
| $highlighter = null | |
| $page_number = 1 | |
| $type = self::TYPE_STANDARD | |
Static Private Attributes | |
| static | $instance = null |
Reads and parses lucene search results.
Definition at line 35 of file class.ilLuceneSearcher.php.
|
private |
Constructor.
| object | ilLuceneQueryParser |
Definition at line 53 of file class.ilLuceneSearcher.php.
| ilLuceneSearcher::getHighlighter | ( | ) |
get highlighter
Definition at line 171 of file class.ilLuceneSearcher.php.
References $highlighter.
|
static |
Get singleton instance.
| object | ilLuceneQueryParser |
Definition at line 67 of file class.ilLuceneSearcher.php.
References $instance.
Referenced by ilSearchAutoComplete\getLuceneList(), ilLuceneUserSearchGUI\performSearch(), ilLuceneAdvancedSearchGUI\performSearch(), ilLuceneSearchGUI\performSearch(), ilSoapObjectAdministration\searchObjects(), ilLuceneAdvancedSearchGUI\showSavedResults(), and ilLuceneSearchGUI\showSavedResults().
Here is the caller graph for this function:| ilLuceneSearcher::getPageNumber | ( | ) |
get current page number
| @return |
Definition at line 195 of file class.ilLuceneSearcher.php.
References $page_number.
Referenced by performSearch().
Here is the caller graph for this function:| ilLuceneSearcher::getResult | ( | ) |
Get result.
| @return | ilLuceneSearchResult |
Definition at line 181 of file class.ilLuceneSearcher.php.
References $result.
| ilLuceneSearcher::getType | ( | ) |
Get type.
Definition at line 89 of file class.ilLuceneSearcher.php.
References $type.
Referenced by performSearch().
Here is the caller graph for this function:| ilLuceneSearcher::highlight | ( | $a_obj_ids | ) |
Highlight/Detail query.
| array | $a_obj_ids | Arry of obj_ids |
Definition at line 109 of file class.ilLuceneSearcher.php.
References $highlighter, $ilBench, $ilLog, $ilSetting, $res, and ilRpcClientFactory\factory().
Here is the call graph for this function:| ilLuceneSearcher::nextResultPage | ( | ) |
get next result page
| @return |
Definition at line 161 of file class.ilLuceneSearcher.php.
References performSearch().
Here is the call graph for this function:
|
protected |
search lucene
Definition at line 204 of file class.ilLuceneSearcher.php.
References $ilBench, $ilLog, $ilSetting, $res, ilRpcClientFactory\factory(), getPageNumber(), and getType().
Referenced by nextResultPage(), and search().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLuceneSearcher::search | ( | ) |
Search.
Definition at line 99 of file class.ilLuceneSearcher.php.
References performSearch().
Here is the call graph for this function:| ilLuceneSearcher::setType | ( | $a_type | ) |
Set search type.
| type | $a_type |
Definition at line 80 of file class.ilLuceneSearcher.php.
|
private |
Definition at line 44 of file class.ilLuceneSearcher.php.
Referenced by getHighlighter(), and highlight().
|
staticprivate |
Definition at line 40 of file class.ilLuceneSearcher.php.
Referenced by getInstance().
|
private |
Definition at line 45 of file class.ilLuceneSearcher.php.
Referenced by getPageNumber().
|
private |
Definition at line 42 of file class.ilLuceneSearcher.php.
|
private |
Definition at line 43 of file class.ilLuceneSearcher.php.
Referenced by getResult().
|
private |
Definition at line 46 of file class.ilLuceneSearcher.php.
Referenced by getType().
| const ilLuceneSearcher::TYPE_STANDARD = 1 |
Definition at line 37 of file class.ilLuceneSearcher.php.
Referenced by ilSearchAutoComplete\getLuceneList().
| const ilLuceneSearcher::TYPE_USER = 2 |
Definition at line 38 of file class.ilLuceneSearcher.php.
Referenced by ilLuceneUserSearchGUI\performSearch().