Search terms are treated as an implicit inclusive OR. AND is created by prepending a plus (+
). NOT is produced with a minus (-
).
Examples:
You can search across a particular field. Here are the available fields and the search syntax:
Available fields:
Syntax: field:term
Examples:
Exact phrase searching is made possible through an add-on function and is limited to a single exact search phrase. This search syntax cannot be combined with other search syntax.
Examples:
!Bangs may not work on mobile. [2023-06-27 16:04:11]
!Bang () searching is made possible through add-on functions. All available bangs are provided in the search bar by typing an exclamation mark (!
) or at search/!Bangs. This is inspired by DuckDuckGo’s use of bangs. Bangs have some similarities to golinks. Bangs open in a new tab.
Examples:
asterisk (*
)
Examples:
You can ‘boost’ the value of a term in the relevance ranking with a caret (^
) followed by a positive integer.
Examples:
Compare [search find^10] and [search^10 find]
This can be used with a query (ignoring relevancy ranking and sorting all included results) or by itself (in which case it returns all items in the index, sorted). Currently only chronological sorting is supported. These are flexible operators that support various alternative representations.
Example: [Berkeley sort:date]
Permitted representations:
Example: [Berkeley sort:date-reverse]
Permitted representations:
This operator will return the 30 pages determined as “most similar” per embedding similarity (see more at search/About#similarity).
Example: [similar:https://danielsgriffin.com/changes/2023/07/13/notes.html]
Note: This operator does not function with other operators or search terms.
Here is the official searching guide from Lunr.js: [Lunrjs.com > Guides > Searching]](https://lunrjs.com/guides/searching.html) (for instance, for fuzzy matching, not discussed here).
Square brackets are used to enclose and indicate the search query, see more at: search/Notation.↩︎