mirror of https://github.com/onweru/compose.git

weru
07.17.2020 b7cf066d1831e3baf15f454c0115fec5734f8157
exampleSite/content/docs/compose/search.md
@@ -12,7 +12,7 @@
### 2. Live search
This behaviour will be obvious as the user types a search query on the search field. All search queries, will yield a list of `quick links` or a simple `no matches found`. Else, the user will be prompted to continue typing.
This behaviour will be obvious as the user types a search query on the search field. All `valid search queries`, will yield a list of `quick links` or a simple `no matches found`. Else, the user will be prompted to continue typing.
> Please note that the results under quick links will be a truncated list of the most relevant results. Only a maximum of 8 items will be returned. This number is pragmatic at best if not arbitrary. On the search page, the number is set to 12.
@@ -29,4 +29,12 @@
I think the other 3 are not only related, but can be for the most part be achieved using the good old-fashioned CTRL/CMD + F.
(1) multilingual sites
(2) blog/events sections that are separate from the docs section -->
(2) blog/events sections that are separate from the docs section -->
### What is a valid search query
A valid search query must be long enough. If the search query can be cast as a float, then it only need contain one or more characters.
Else the search query must be at least 2 characters long.
<!-- This behaviour will change. -->