generated from ztimson/template
Fixed search summary text
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ztimson/zim-utils",
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"description": "Native, dependency-light ZIM archive reader/searcher and Kiwix catalog downloader for Node.js",
|
||||
"author": "Zak Timson",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -126,6 +126,7 @@ export function rerank(hits, termList) {
|
||||
|
||||
return {
|
||||
...hit,
|
||||
summary: hit.summary?._text,
|
||||
finalScore,
|
||||
ranking: {
|
||||
rrf: hit.rrf,
|
||||
|
||||
Reference in New Issue
Block a user