mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-22 23:37:53 +00:00
search: adapter docs #409
This commit is contained in:
parent
c84ba71c2c
commit
bb9790fb49
2 changed files with 5 additions and 5 deletions
|
@ -1 +1 @@
|
|||
7.1.1+2574cb83408f0b6052262980adb20f291c16edd8
|
||||
7.1.1+c84ba71c2c388858d47ea183a7df3fda7f2c27b3
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue