Skip to content

Commit

Permalink
Merge pull request #273 from Duplexmedia/tntsearch_issues_55
Browse files Browse the repository at this point in the history
✨ Introducing ability to make docScores available outside of TNTSearch
  • Loading branch information
nticaric authored Aug 2, 2022
2 parents a17cf99 + 25bc3d6 commit 645f20c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TNTSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public function search($phrase, $numOfResults = 100)
return [
'ids' => array_keys($docs->toArray()),
'hits' => $totalHits,
'docScores' => $docScores,
'execution_time' => round($stopTimer - $startTimer, 7) * 1000 ." ms"
];
}
Expand Down

0 comments on commit 645f20c

Please sign in to comment.