(PECL solr >= 0.9.2)
This class represents a Solr document that is about to be submitted to the Solr index.
$child
&$docs
$fieldName
$fieldValue
$fieldBoostValue
$sourceDoc
$overwrite
true
$documentBoostValue
$sortOrderBy
$sortDirection
SolrInputDocument::SORT_DEFAULT
Sorts the fields in ascending order.
SolrInputDocument::SORT_ASC
SolrInputDocument::SORT_DESC
Sorts the fields in descending order.
SolrInputDocument::SORT_FIELD_NAME
Sorts the fields by name
SolrInputDocument::SORT_FIELD_VALUE_COUNT
Sorts the fields by number of values.
SolrInputDocument::SORT_FIELD_BOOST_VALUE
Sorts the fields by boost value.