change order result doofinder by scoring
This commit is contained in:
parent
604df7b90b
commit
6205f866e6
@ -54,7 +54,7 @@ class Antadis_Doofinder extends Module
|
||||
}
|
||||
|
||||
$df = new DoofinderApi($this->hash, $this->api_key);
|
||||
$output = $df->query($input, 1, array('rpp' => 100, 'sort' => array(array('type' => 'desc'))));
|
||||
$output = $df->query($input, 1, array('rpp' => 100, 'sort' => array(array('_score' => 'desc') )) );
|
||||
|
||||
return array(
|
||||
'results' => $output->getResults()
|
||||
|
Loading…
Reference in New Issue
Block a user