update : 2015.11.03
php.shukuma.com

검색:
 
 
Changes the specified servlet type to a new value

SolrClient::setServlet

(PECL solr >= 0.9.2)

SolrClient::setServletChanges the specified servlet type to a new value

설명

public bool SolrClient::setServlet ( int $type , string $value )

Changes the specified servlet type to a new value

인수

type

One of the following :

- SolrClient::SEARCH_SERVLET_TYPE
 - SolrClient::UPDATE_SERVLET_TYPE
 - SolrClient::THREADS_SERVLET_TYPE
 - SolrClient::PING_SERVLET_TYPE
 - SolrClient::TERMS_SERVLET_TYPE

value

The new value for the servlet

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.