Searching
Search query
The text input at the top of the search form allows you to type a search query.
An empty search query, or a query that only contains the * wildcard, will return every item that has been indexed for this project.
To execute the search, you can click the Search button, or press Enter while focusing on the search query field.
Operators
A few operators can be used to construct complex search conditions:
a ba | b-
Search for results that contain the word
a, the wordb, or both at once. a + b-
Search for results that contain both
aandbat the same time. -c-
Search for results that do not contain
c. a + -c-
Search for results that contain
a, but that do not containc.Searching for a -cmay not return the results that you expect. This will search for results that containaand results that do not containc, but not necessarily results that satisfy both conditions. a*-
Search for results that contain any word starting with
a. This wildcard operator cannot be used in the middle or at the end of a word. "a b"-
Search for results that contain exactly
a b, nota z borb a.
Those operators can be all be used simultaneously. For example, doctor + -psy* will look for search results that contain doctor and that do not contain any word starting with the prefix psy.
Precedence
Each search term and operator is evaluated from left to right by default, but this order can be controlled by wrapping them in parentheses:
-
a + b cis equivalent to(a + b) | c. This search query will match results that either have bothaandb, or just havec. -
a + (b c)is equivalent toa + (b | c). This search query will match results that haveaand that have eitherborc.
Sources
Below the search query input, checkboxes allow you to filter results to only include those from specific data types, called sources. By default, all sources are selected.
At least one source must be selected. When no sources are selected, a warning is shown and the search query will be performed as if all sources were selected instead.
Sorting
It is possible to control how search results are sorted:
- By relevance
-
The default option. The search engine will compute a relevance score based on how well each search result matches the search query. The most relevant search results will be shown first.
- By element name
-
Search results will be sorted by element name in ascending order. This does not take parent element names into account.
Facets
After a search query has been executed, new options called facets may be shown to filter the search further based on other properties. It is possible to filter search results by:
Clicking on any of the checkboxes for the suggested values will re-execute the search with this additional filter, and will update the facets to reflect those newly filtered search results. Unchecking a value removes the filter.
The values for each facet are sorted by name in ascending order by default. They may be sorted by number of occurrences within the current search in descending order by clicking on Sort by occurrences.