PHP - Manual: SolrInputDocument
2024-12-21
(PECL solr >= 0.9.2)
This class represents a Solr document that is about to be submitted to the Solr index.
SolrInputDocument::SORT_DEFAULT
Sorts the fields in ascending order.
SolrInputDocument::SORT_ASC
Sorts the fields in ascending order.
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.
官方地址:https://www.php.net/manual/en/class.solrinputdocument.php