| 
    ILIAS
    release_8 Revision v8.24
    
   | 
  
Reads and parses lucene search results. More...
 Collaboration diagram for ilLuceneSearcher:Public Member Functions | |
| setType (int $a_type) | |
| Set search type.  More... | |
| getType () | |
| Get type.  More... | |
| search () | |
| Search.  More... | |
| highlight (array $a_obj_ids) | |
| nextResultPage () | |
| get next result page  More... | |
| getHighlighter () | |
| get highlighter  More... | |
| getResult () | |
| Get result.  More... | |
| getPageNumber () | |
| get current page number  More... | |
Static Public Member Functions | |
| static | getInstance (ilLuceneQueryParser $qp) | 
| Get singleton instance.  More... | |
Data Fields | |
| const | TYPE_STANDARD = 1 | 
| const | TYPE_USER = 2 | 
Protected Member Functions | |
| performSearch () | |
| search lucene  More... | |
Protected Attributes | |
| ilSetting | $setting | 
Private Member Functions | |
| __construct (ilLuceneQueryParser $qp) | |
Private Attributes | |
| ilLuceneQueryParser | $query_parser | 
| ilLuceneSearchResult | $result | 
| ilLuceneHighlighterResultParser | $highlighter = null | 
| int | $page_number = 1 | 
| int | $type = self::TYPE_STANDARD | 
Static Private Attributes | |
| static ilLuceneSearcher | $instance = null | 
Reads and parses lucene search results.
Definition at line 35 of file class.ilLuceneSearcher.php.
      
  | 
  private | 
Definition at line 50 of file class.ilLuceneSearcher.php.
References $DIC.
| ilLuceneSearcher::getHighlighter | ( | ) | 
get highlighter
Definition at line 137 of file class.ilLuceneSearcher.php.
References $highlighter.
      
  | 
  static | 
Get singleton instance.
Definition at line 63 of file class.ilLuceneSearcher.php.
References $instance.
Referenced by ilSearchAutoComplete\getLuceneList(), ilRepositoryObjectDetailSearch\performLuceneSearch(), ilLuceneAdvancedSearchGUI\performSearch(), ilLuceneSearchGUI\performSearch(), ilLuceneUserSearchGUI\performSearch(), ilSoapObjectAdministration\searchObjects(), ilLuceneAdvancedSearchGUI\showSavedResults(), and ilLuceneSearchGUI\showSavedResults().
 Here is the caller graph for this function:| ilLuceneSearcher::getPageNumber | ( | ) | 
get current page number
Definition at line 153 of file class.ilLuceneSearcher.php.
References $page_number.
| ilLuceneSearcher::getResult | ( | ) | 
Get result.
Definition at line 145 of file class.ilLuceneSearcher.php.
References $result.
| ilLuceneSearcher::getType | ( | ) | 
Get type.
Definition at line 82 of file class.ilLuceneSearcher.php.
References $type.
Referenced by performSearch().
 Here is the caller graph for this function:| ilLuceneSearcher::highlight | ( | array | $a_obj_ids | ) | 
| int[] | $a_obj_ids | 
Definition at line 100 of file class.ilLuceneSearcher.php.
References Vendor\Package\$e, $highlighter, $res, CLIENT_ID, ilRpcClientFactory\factory(), and ilLoggerFactory\getLogger().
 Here is the call graph for this function:| ilLuceneSearcher::nextResultPage | ( | ) | 
get next result page
Definition at line 128 of file class.ilLuceneSearcher.php.
References performSearch().
 Here is the call graph for this function:
      
  | 
  protected | 
search lucene
@noinspection PhpUndefinedMethodInspection
Definition at line 161 of file class.ilLuceneSearcher.php.
References Vendor\Package\$e, $res, CLIENT_ID, ilRpcClientFactory\factory(), ilLoggerFactory\getLogger(), getType(), TYPE_STANDARD, and TYPE_USER.
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 91 of file class.ilLuceneSearcher.php.
References performSearch().
 Here is the call graph for this function:| ilLuceneSearcher::setType | ( | int | $a_type | ) | 
Set search type.
Definition at line 74 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().
      
  | 
  protected | 
Definition at line 48 of file class.ilLuceneSearcher.php.
      
  | 
  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(), and performSearch().
| const ilLuceneSearcher::TYPE_USER = 2 | 
Definition at line 38 of file class.ilLuceneSearcher.php.
Referenced by performSearch(), and ilLuceneUserSearchGUI\performSearch().