略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SolrQuery::setTimeAllowed

2024-11-13

SolrQuery::setTimeAllowed

(PECL solr >= 0.9.2)

SolrQuery::setTimeAllowedThe time allowed for search to finish

说明

public SolrQuery::setTimeAllowed(int $timeAllowed): SolrQuery

The time allowed for a search to finish. This value only applies to the search and not to requests in general. Time is in milliseconds. Values less than or equal to zero implies no time restriction. Partial results may be returned, if there are any.

参数

timeAllowed

The time allowed for a search to finish.

返回值

Returns the current SolrQuery object, if the return value is used.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/solrquery.settimeallowed.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3