메소드 | 설명 | |
---|---|---|
__construct ( $request ) | Constructor | |
_getLucenePlugin ( ) : LucenePlugin | Get the lucene plugin object | |
authorize ( $request, &$args, $roleAssignments ) | ||
pullChangedArticles ( $args, $request ) : JSON | If pull-indexing is enabled then this handler returns article metadata in a formate that can be consumed by the Solr data import handler. | |
pullIndexingCallback ( $articleXml, $batchCount, $numDeleted ) : integer | Return XML with index changes to the Solr server where it will be stored for later processing. | |
queryAutocomplete ( $args, $request ) : JSONMessage | AJAX request for search query auto-completion. | |
usageMetricBoost ( $args, $request ) | If the "ranking-by-metric" feature is enabled then this handler returns a file with normalized boost data. |
public _getLucenePlugin ( ) : LucenePlugin | ||
리턴 | LucenePlugin |
public pullChangedArticles ( $args, $request ) : JSON | ||
$args | array | |
$request | Request | |
리턴 | JSON | string |
public pullIndexingCallback ( $articleXml, $batchCount, $numDeleted ) : integer | ||
$articleXml | string The XML with index changes to be transferred to the Solr server. | |
$batchCount | integer The number of articles in the XML list (i.e. the expected number of documents to be indexed). | |
$numDeleted | integer The number of articles in the XML list that are marked for deletion. | |
리턴 | integer | The number of articles processed. |
public queryAutocomplete ( $args, $request ) : JSONMessage | ||
$args | array | |
$request | Request | |
리턴 | JSONMessage | JSON object |
public usageMetricBoost ( $args, $request ) | ||
$args | array | |
$request | Request |