From bb9790fb496acd74d7e15176487a46b870e0bcb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 25 Oct 2024 18:07:07 +0200 Subject: [PATCH] search: adapter docs #409 --- layouts/partials/version.txt | 2 +- static/js/lunr-adapter.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index c6668c7344..c1b2e8f0f7 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.1.1+2574cb83408f0b6052262980adb20f291c16edd8 \ No newline at end of file +7.1.1+c84ba71c2c388858d47ea183a7df3fda7f2c27b3 \ No newline at end of file diff --git a/static/js/lunr-adapter.js b/static/js/lunr-adapter.js index e350d051f1..e4dbf23c8c 100644 --- a/static/js/lunr-adapter.js +++ b/static/js/lunr-adapter.js @@ -10,7 +10,7 @@ Initialize the search engine and the search index ### Parameters -one +none ### Returns @@ -27,15 +27,15 @@ Once successfully completed, needs to call ## search() -Performs the search and returs found results +Performs the search and returs found results. ### Parameters -**term**: The search term that was typed in by the user +term: string // the search term that was typed in by the user ### Returns -Must return an array of found pages, sorted with the most relevant pages first. +Must return an array of found pages, sorted with the most relevant page first. Each array item needs the following layout: