downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SolrClient::addDocument> <SolrObject::offsetUnset
Last updated: Fri, 30 Oct 2009

view this page in

The SolrClient class

Einführung

Used to send requests to a Solr server. Currently, cloning and serialization of SolrClient instances is not supported.

Klassenbeschreibung

SolrClient
final SolrClient {
/* Constants */
const integer SolrClient::SEARCH_SERVLET_TYPE = 1 ;
const integer SolrClient::UPDATE_SERVLET_TYPE = 2 ;
const integer SolrClient::PING_SERVLET_TYPE = 8 ;
const integer SolrClient::TERMS_SERVLET_TYPE = 16 ;
const string SolrClient::DEFAULT_SEARCH_SERVLET = select ;
const string SolrClient::DEFAULT_UPDATE_SERVLET = update ;
const string SolrClient::DEFAULT_THREADS_SERVLET = admin/threads ;
const string SolrClient::DEFAULT_PING_SERVLET = admin/ping ;
const string SolrClient::DEFAULT_TERMS_SERVLET = terms ;
/* Properties */
private integer $_hashtable_index ;
/* Methods */
public SolrUpdateResponse addDocument ( SolrInputDocument &$doc [, bool $allowDups [, int $commitWithin ]] )
public void addDocuments ( array &$docs [, bool $allowDups [, int $commitWithin ]] )
public SolrUpdateResponse commit ([ int $maxSegments [, bool $waitFlush [, bool $waitSearcher ]]] )
public __construct ( array $clientOptions )
public SolrUpdateResponse deleteById ( string $id )
public SolrUpdateResponse deleteByIds ( array $ids )
public SolrUpdateResponse deleteByQueries ( array $queries )
public SolrUpdateResponse deleteByQuery ( string $query )
public void __destruct ( void )
public SolrUpdateResponse optimize ([ int $maxSegments [, bool $waitFlush [, bool $waitSearcher ]]] )
public SolrPingResponse ping ( void )
public SolrQueryResponse query ( SolrParams &$query )
public void request ( string $raw_request )
public SolrUpdateResponse rollback ( void )
public bool setServlet ( int $type , string $value )
public void threads ( void )
}

Eigenschaften

_hashtable_index

Used to track each SolrClient instance internally.

Vordefinierte Konstanten

SolrClient Node Types

SolrClient::SEARCH_SERVLET_TYPE

Used when updating the search servlet.

SolrClient::UPDATE_SERVLET_TYPE

Used when updating the update servlet.

SolrClient::THREADS_SERVLET_TYPE

Used when updating the threads servlet.

SolrClient::PING_SERVLET_TYPE

Used when updating the ping servlet.

SolrClient::TERMS_SERVLET_TYPE

Used when updating the terms servlet.

SolrClient::DEFAULT_SEARCH_SERVLET

This is the intial value for the search servlet.

SolrClient::DEFAULT_UPDATE_SERVLET

This is the intial value for the update servlet.

SolrClient::DEFAULT_THREADS_SERVLET

This is the intial value for the threads servlet.

SolrClient::DEFAULT_PING_SERVLET

This is the intial value for the ping servlet.

SolrClient::DEFAULT_TERMS_SERVLET

This is the intial value for the terms servlet used for the TermsComponent

Inhaltsverzeichnis



add a note add a note User Contributed Notes
SolrClient
There are no user contributed notes for this page.

SolrClient::addDocument> <SolrObject::offsetUnset
Last updated: Fri, 30 Oct 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites