|
|
|
@ -98,7 +98,7 @@ class BookSearch
|
|
|
|
|
|
|
|
|
|
|
|
public function addRange($field, $min = '*', $max = '*')
|
|
|
|
public function addRange($field, $min = '*', $max = '*')
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->queryParts[] = sprintf('%s:[%s TO %s]', $field, $min, $max);
|
|
|
|
$this->filterQueryParts[] = sprintf('%s:[%s TO %s]', $field, $min, $max);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function addSortField($field, $order = \SolrQuery::ORDER_DESC)
|
|
|
|
public function addSortField($field, $order = \SolrQuery::ORDER_DESC)
|
|
|
|
|