ILIAS
release_4-3 Revision
|
Reads and parses lucene search results. More...
Public Member Functions | |
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. |
Protected Member Functions | |
performSearch () | |
search lucene |
Private Member Functions | |
__construct ($qp) | |
Constructor. |
Private Attributes | |
$query_parser = null | |
$result = null | |
$highlighter = null | |
$page_number = 1 |
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 49 of file class.ilLuceneSearcher.php.
ilLuceneSearcher::getHighlighter | ( | ) |
get highlighter
Definition at line 147 of file class.ilLuceneSearcher.php.
References $highlighter.
|
static |
Get singleton instance.
object | ilLuceneQueryParser |
Definition at line 63 of file class.ilLuceneSearcher.php.
References $instance.
Referenced by ilLuceneAdvancedSearchGUI\performSearch(), ilLuceneSearchGUI\performSearch(), ilSoapObjectAdministration\searchObjects(), ilLuceneAdvancedSearchGUI\showSavedResults(), and ilLuceneSearchGUI\showSavedResults().
ilLuceneSearcher::getPageNumber | ( | ) |
get current page number
@return |
Definition at line 171 of file class.ilLuceneSearcher.php.
References $page_number.
Referenced by performSearch().
ilLuceneSearcher::getResult | ( | ) |
Get result.
@return |
Definition at line 157 of file class.ilLuceneSearcher.php.
References $result.
ilLuceneSearcher::highlight | ( | $a_obj_ids | ) |
Highlight/Detail query.
array | $a_obj_ids | Arry of obj_ids |
Definition at line 86 of file class.ilLuceneSearcher.php.
References $highlighter, $ilBench, $ilLog, $ilSetting, $res, and ilRpcClientFactory\factory().
ilLuceneSearcher::nextResultPage | ( | ) |
get next result page
@return |
Definition at line 137 of file class.ilLuceneSearcher.php.
References performSearch().
|
protected |
search lucene
Definition at line 180 of file class.ilLuceneSearcher.php.
References $ilBench, $ilLog, $ilSetting, $res, ilRpcClientFactory\factory(), and getPageNumber().
Referenced by nextResultPage(), and search().
ilLuceneSearcher::search | ( | ) |
Search.
Definition at line 76 of file class.ilLuceneSearcher.php.
References performSearch().
|
private |
Definition at line 41 of file class.ilLuceneSearcher.php.
Referenced by getHighlighter(), and highlight().
|
staticprivate |
Definition at line 37 of file class.ilLuceneSearcher.php.
Referenced by getInstance().
|
private |
Definition at line 42 of file class.ilLuceneSearcher.php.
Referenced by getPageNumber().
|
private |
Definition at line 39 of file class.ilLuceneSearcher.php.
|
private |
Definition at line 40 of file class.ilLuceneSearcher.php.
Referenced by getResult().