Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

solrinputdocument(3) [php man page]

SOLRINPUTDOCUMENT(3)							 1						      SOLRINPUTDOCUMENT(3)

The SolrInputDocument class

INTRODUCTION
This class represents a Solr document that is about to be submitted to the Solr index. CLASS SYNOPSIS
SolrInputDocument final SolrInputDocument Constants o const integer$SolrInputDocument::SORT_DEFAULT1 o const integer$SolrInputDocument::SORT_ASC1 o const integer$SolrInputDocument::SORT_DESC2 o const integer$SolrInputDocument::SORT_FIELD_NAME1 o const integer$SolrInputDocument::SORT_FIELD_VALUE_COUNT2 o const integer$SolrInputDocument::SORT_FIELD_BOOST_VALUE4 Methods o public bool SolrInputDocument::addField (string $fieldName, string $fieldValue, [float $fieldBoostValue = 0.0]) o public bool SolrInputDocument::clear (void ) o public void SolrInputDocument::__clone (void ) o public SolrInputDocument::__construct (void ) o public bool SolrInputDocument::deleteField (string $fieldName) o public void SolrInputDocument::__destruct (void ) o public bool SolrInputDocument::fieldExists (string $fieldName) o public float SolrInputDocument::getBoost (void ) o public SolrDocumentField SolrInputDocument::getField (string $fieldName) o public float SolrInputDocument::getFieldBoost (string $fieldName) o public int SolrInputDocument::getFieldCount (void ) o public array SolrInputDocument::getFieldNames (void ) o public bool SolrInputDocument::merge (SolrInputDocument $sourceDoc, [bool $overwrite = true]) o public bool SolrInputDocument::reset (void ) o public bool SolrInputDocument::setBoost (float $documentBoostValue) o public bool SolrInputDocument::setFieldBoost (string $fieldName, float $fieldBoostValue) o public bool SolrInputDocument::sort (int $sortOrderBy, [int $sortDirection = SolrInputDocument::SORT_ASC]) o public array SolrInputDocument::toArray (void ) PREDEFINED CONSTANTS
SOLRINPUTDOCUMENT CLASS CONSTANTS
o SolrInputDocument::SORT_DEFAULT -Sorts the fields in ascending order. o SolrInputDocument::SORT_ASC -Sorts the fields in ascending order. o SolrInputDocument::SORT_DESC -Sorts the fields in descending order. o SolrInputDocument::SORT_FIELD_NAME -Sorts the fields by name o SolrInputDocument::SORT_FIELD_VALUE_COUNT -Sorts the fields by number of values. o SolrInputDocument::SORT_FIELD_BOOST_VALUE -Sorts the fields by boost value. PHP Documentation Group SOLRINPUTDOCUMENT(3)

Check Out this Related Man Page

SOLRCLIENT(3)								 1							     SOLRCLIENT(3)

The SolrClient class

INTRODUCTION
Used to send requests to a Solr server. Currently, cloning and serialization of SolrClient instances is not supported. CLASS SYNOPSIS
SolrClient final SolrClient Constants o const integer$SolrClient::SEARCH_SERVLET_TYPE1 o const integer$SolrClient::UPDATE_SERVLET_TYPE2 o const integer$SolrClient::THREADS_SERVLET_TYPE4 o const integer$SolrClient::PING_SERVLET_TYPE8 o const integer$SolrClient::TERMS_SERVLET_TYPE16 o const integer$SolrClient::SYSTEM_SERVLET_TYPE32 o const string$SolrClient::DEFAULT_SEARCH_SERVLETselect o const string$SolrClient::DEFAULT_UPDATE_SERVLETupdate o const string$SolrClient::DEFAULT_THREADS_SERVLETadmin/threads o const string$SolrClient::DEFAULT_PING_SERVLETadmin/ping o const string$SolrClient::DEFAULT_TERMS_SERVLETterms o const string$SolrClient::DEFAULT_SYSTEM_SERVLETsystem Methods o public SolrUpdateResponse SolrClient::addDocument (SolrInputDocument $doc, [bool $overwrite = true], [int $commitWithin]) o public void SolrClient::addDocuments (array $docs, [bool $overwrite = true], [int $commitWithin]) o public SolrUpdateResponse SolrClient::commit ([bool $softCommit = false], [bool $waitSearcher = true], [bool $expungeDeletes = false]) o public SolrClient::__construct (array $clientOptions) o public SolrUpdateResponse SolrClient::deleteById (string $id) o public SolrUpdateResponse SolrClient::deleteByIds (array $ids) o public SolrUpdateResponse SolrClient::deleteByQueries (array $queries) o public SolrUpdateResponse SolrClient::deleteByQuery (string $query) o public void SolrClient::__destruct (void ) o public string SolrClient::getDebug (void ) o public array SolrClient::getOptions (void ) o public SolrUpdateResponse SolrClient::optimize ([int $maxSegments = 1], [bool $softCommit = true], [bool $waitSearcher = true]) o public SolrPingResponse SolrClient::ping (void ) o public SolrQueryResponse SolrClient::query (SolrParams $query) o public SolrUpdateResponse SolrClient::request (string $raw_request) o public SolrUpdateResponse SolrClient::rollback (void ) o public void SolrClient::setResponseWriter (string $responseWriter) o public bool SolrClient::setServlet (int $type, string $value) o public void SolrClient::system (void ) o public void SolrClient::threads (void ) PREDEFINED CONSTANTS
o SolrClient::SEARCH_SERVLET_TYPE -Used when updating the search servlet. o SolrClient::UPDATE_SERVLET_TYPE -Used when updating the update servlet. o SolrClient::THREADS_SERVLET_TYPE -Used when updating the threads servlet. o SolrClient::PING_SERVLET_TYPE -Used when updating the ping servlet. o SolrClient::TERMS_SERVLET_TYPE -Used when updating the terms servlet. o SolrClient::SYSTEM_SERVLET_TYPE -Used when retrieving system information from the system servlet. o SolrClient::DEFAULT_SEARCH_SERVLET -This is the intial value for the search servlet. o SolrClient::DEFAULT_UPDATE_SERVLET -This is the intial value for the update servlet. o SolrClient::DEFAULT_THREADS_SERVLET -This is the intial value for the threads servlet. o SolrClient::DEFAULT_PING_SERVLET -This is the intial value for the ping servlet. o SolrClient::DEFAULT_TERMS_SERVLET -This is the intial value for the terms servlet used for the TermsComponent o SolrClient::DEFAULT_SYSTEM_SERVLET -This is the intial value for the system servlet used to obtain Solr Server information PHP Documentation Group SOLRCLIENT(3)
Man Page