You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a details component with search query tips (#293)
Provide some query examples highlighting some of the supported syntax,
and link to the full documentation in Datahub.
This should help mitigate the sometimes unintuitive default behaviour of
requiring that ALL search terms match.
This behaviour is how Datahub have configured search, and to change it
we would have to customise the Elasticsearch query.
<li><p>Use multiple words to narrow down your search.</p><p>For example: <strong>prisons probation</strong> matches data mentioning "prisons" AND "probation".</p></li>
33
+
<li><p>Separate words with a pipe to broaden your search.</p><p>For example: <strong>prisons | probation</strong> matches data mentioning "prisons" OR "probation".</p></li>
34
+
<li><p>Quote phrases to require an exact match.</p><p>For example: <strong>"case management"</strong> matches the exact phrase "case management" but not either word on its own.</p></li>
35
+
<li><p>Use a minus sign to exclude words.</p><p>For example: <strong>courts -magistrates</strong> excludes any results that mention "magistrates".</p></li>
0 commit comments