|
@@ -58,7 +58,7 @@ |
|
|
block discarded – undo |
|
58
|
58
|
if ($solr->ready) { |
|
59
|
59
|
$query = $solr->service->createSelect(); |
|
60
|
60
|
$query->setFields([$fields['id'], $fields['uid'], $fields['page']]); |
|
61
|
|
- $query->setQuery($fields['fulltext'] . ':(' . Solr::escapeQuery((string) $parameters['q']) . ') AND ' . $fields['uid'] . ':' . intval($parameters['uid'])); |
|
|
61
|
+ $query->setQuery($fields['fulltext'].':('.Solr::escapeQuery((string) $parameters['q']).') AND '.$fields['uid'].':'.intval($parameters['uid'])); |
|
62
|
62
|
$query->setStart($start)->setRows(20); |
|
63
|
63
|
$query->addSort($fields['page'], $query::SORT_ASC); |
|
64
|
64
|
$hl = $query->getHighlighting(); |
Please login to merge, or discard this patch.