Document body: search prefix
This commit is contained in:
parent
b98c4ce1c9
commit
9f7ad0c304
1 changed files with 1 additions and 5 deletions
|
|
@ -520,11 +520,6 @@
|
||||||
(if (= 1 n-displayed)
|
(if (= 1 n-displayed)
|
||||||
" match"
|
" match"
|
||||||
" matches")))))]
|
" matches")))))]
|
||||||
[:section.search-form
|
|
||||||
[search {:query query}]
|
|
||||||
[loading-indicator {:loading loading}]
|
|
||||||
#_(cond (= api-state :loading) " …"
|
|
||||||
(= api-state :error) " API Error!")]
|
|
||||||
[:section.buttons
|
[:section.buttons
|
||||||
[:button.control-button {:on-click fetch-more-posts! :disabled (boolean (seq loading))} "⇓ Fetch more"]
|
[:button.control-button {:on-click fetch-more-posts! :disabled (boolean (seq loading))} "⇓ Fetch more"]
|
||||||
[:button.control-button {:on-click disconnect-account!} "▤ Disconnect account"]]]
|
[:button.control-button {:on-click disconnect-account!} "▤ Disconnect account"]]]
|
||||||
|
|
@ -561,6 +556,7 @@
|
||||||
[:li [:code "\"for (this|that)\""] " will match \"for this\" and \"for that\"."]]]
|
[:li [:code "\"for (this|that)\""] " will match \"for this\" and \"for that\"."]]]
|
||||||
[:li "Terms can be prefixed to change default behavior:"
|
[:li "Terms can be prefixed to change default behavior:"
|
||||||
[:ul
|
[:ul
|
||||||
|
[:li [:code "body:term"] " will return results that have a fuzzy match for \"term\" anywhere in the post body or in any image or video description."]
|
||||||
[:li "Date prefixes can be used to restrict a date range for your results. Dates are meant to be given like "
|
[:li "Date prefixes can be used to restrict a date range for your results. Dates are meant to be given like "
|
||||||
[:code "2025-11-22"] " / " [:code "YYYY-MM-DD"] ", but month and day are optional."
|
[:code "2025-11-22"] " / " [:code "YYYY-MM-DD"] ", but month and day are optional."
|
||||||
[:ul
|
[:ul
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue