(PECL solr >= 0.9.2)
Represents a collection of name-value pairs sent to the Solr server during a request.
$frequency, string $field_override = ?): SolrQuery $fieldLength, string $field_override = ?): SolrQuery SolrQuery::ORDER_ASC Used to specify that the sorting should be in acending order
SolrQuery::ORDER_DESC Used to specify that the sorting should be in descending order
SolrQuery::FACET_SORT_INDEX Used to specify that the facet should sort by index
SolrQuery::FACET_SORT_COUNT Used to specify that the facet should sort by count
SolrQuery::TERMS_SORT_INDEX Used in the TermsComponent
SolrQuery::TERMS_SORT_COUNT Used in the TermsComponent
Note - if using morelikethis, and your query is on a numeric ID, then you will not be able to access the moreLikeThis object in the results...
when q=id:3493 searching with mlt, result is:
SolrObject Object
(
...
[moreLikeThis] => SolrObject Object
(
[3493] => SolrObject Object
(
[numFound] => 6286
[start] => 0
[docs] => Array
(
....etc
the numeric object name (3493 above) is impossible to access
not by $response->moreLikeThis->{3493} nor $response->moreLikeThis->{'3493'}, nothing...
only way is to convert the moreLikeThis object into an array with:
$response_array = (array) $response->moreLikeThis;
then iterate the array as the array key is known.