{% load i18n l10n %}
{% comment %} {% endcomment %}

{% trans "Free search" %}

{% trans "Each item in the database is indexed to ensure consistent results for free-entry searches." %}

{% blocktrans %}Example: "071234" in an operation search will return the operation with the corresponding operation code in the Operation search field, and finds linked to the same operation in the Find search field.{% endblocktrans %}

{% trans "Criteria search" %}

{% blocktrans %}Clicking on the icon takes you to a form that allows you to simply construct your search by criteria. Once this search query has been built up, the query can be adjusted in the main search area.{% endblocktrans %}

{% trans "Open search" %}

{% blocktrans %}In the search by criteria, the engine searches exactly for the value entered. If you want an open search such as "contains the value", add an asterisk * to the value.{% endblocktrans %}

{% blocktrans %}Example: "denomination='éclat'" will return only those items whose denomination is exactly "éclat", while "denomination='éclat*'" will return all items whose denomination contains the word "éclat", e.g. batches of "éclats", "éclat retouché", etc.{% endblocktrans %}

{% trans "Exclude" %}

{% blocktrans %}To exclude items from the search, add the criterion from the form, then prefix the criterion with "-" in the main search area.{% endblocktrans %}

{% blocktrans %}Example: the search "-material='metal'" will exclude all metal finds from the search.{% endblocktrans %}

{% trans "Filled/empty" %}

{% blocktrans %}If you want to get items with a specific criteria filled, set the value to "*". Instead if you want to get items with a specific criteria empty, set the value to "*", then prefix the criterion with "-".{% endblocktrans %}

{% blocktrans %}Example: "material='*'" will return only all items with a material set, "-material='*'" return all items with material not set.{% endblocktrans %}

{% trans "Greater than, lower than, before, after" %}

{% blocktrans %}For searches such as larger, smaller (for numeric fields), before, after (for date fields), add the criterion from the form, then change the "=" sign to "=>" or "=<", depending on the desired result.{% endblocktrans %}

{% blocktrans %}Example: the search 'year=>"2019"' will return all items from 2019 and onwards.{% endblocktrans %}

{% trans "Full documentation for searches." %}