|
| $description |
|
| $queryType |
|
| $extra |
|
| $startTime |
|
| $endTime |
|
◆ addIndex()
CirrusSearch\CompletionRequestLog::addIndex |
( |
| $indexName | ) |
|
Add an index used by this request.
- Parameters
-
◆ getElasticTookMs()
CirrusSearch\CompletionRequestLog::getElasticTookMs |
( |
| ) |
|
◆ getLogVariables()
CirrusSearch\CompletionRequestLog::getLogVariables |
( |
| ) |
|
◆ getRequests()
CirrusSearch\CompletionRequestLog::getRequests |
( |
| ) |
|
◆ isCachedResponse()
CirrusSearch\CompletionRequestLog::isCachedResponse |
( |
| ) |
|
◆ setPrefixTookMs()
CirrusSearch\CompletionRequestLog::setPrefixTookMs |
( |
| $prefixTookMs | ) |
|
◆ setResult()
CirrusSearch\CompletionRequestLog::setResult |
( |
array | $result, |
|
|
array | $suggestionMetadataByDocId ) |
- Parameters
-
SearchSuggestion[] | $result | The set of suggestion results that will be returned to the user. |
string[][] | $suggestionMetadataByDocId | A map from elasticsearch document id to the completion profile that provided the highest score for that document id. |
◆ setSuggestTookMs()
CirrusSearch\CompletionRequestLog::setSuggestTookMs |
( |
| $suggestTookMs | ) |
|
◆ setTotalHits()
CirrusSearch\CompletionRequestLog::setTotalHits |
( |
| $totalHits | ) |
|
The documentation for this class was generated from the following file:
- includes/CompletionRequestLog.php