SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit a297a0e8 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Small tweaks to Advanced Search tips

parent 9b5de04a
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@
data-bs-parent="#searchTipsAccordion"
>
<div class="accordion-body">
<h3>Basics</h3>
<h3>Fundamentals</h3>
<p>Advanced search is based on (combinations of) search queries in the form</p>
<p class="text-center">[ field ] - [ lookup ] - [ value ]</p>
<p>in which <em>field</em> is one of the enabled search fields (typically one of the model's database fields), <em>lookup</em> is a lookup function (see details below), and <em>value</em> is the query string. Which field/lookup combinations are available depends on which model is being searched.</p>
......@@ -87,9 +87,9 @@
<tr><td><em>month</em></td><td>MM format</td></tr>
<tr><td><em>gte</em></td><td>greater than or equal</td></tr>
<tr><td><em>lte</em></td><td>less than or equal</td></tr>
<tr><td><em>range</em></td><td>inclusive begin to end interval; format: being,end</td></tr>
<tr><td><em>iregex</em></td><td>case-insensitive regex pattern match</td></tr>
<tr><td><em>regex</em></td><td>case-sensitive regex pattern match</td></tr>
<tr><td><em>range</em></td><td>inclusive begin to end interval; format: begin,end</td></tr>
<tr><td><em>iregex</em></td><td>case-insensitive <a href="https://en.wikipedia.org/wiki/Regular_expression" class="p-0" target="_blank" rel="nofollow">regular expression</a> pattern match</td></tr>
<tr><td><em>regex</em></td><td>case-sensitive <a href="https://en.wikipedia.org/wiki/Regular_expression" class="p-0" target="_blank" rel="nofollow">regular expression</a> pattern match</td></tr>
</table>
<h3>Limitations</h3>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment