{% load i18n l10n %}
{% 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 %}
{% 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 %}
{% 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 %}
{% 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 %}
{% 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 %}
{% 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 %}
{% blocktrans %}An OR operator is available for searches that include, for example, different criteria. This operator uses the notation " || ".{% endblocktrans %}
{% blocktrans %}Example: the search "material='Metal' || object-type='ingot'" will include in the search all metallic finds as well as all finds whose object type is ingot.{% endblocktrans %}
{% blocktrans %}An AND operator is available to search on the same criterion with several values. This operator uses the notation " && ".{% endblocktrans %}
{% blocktrans %}Example: the search "material='Metal' && material='wood'" will only include finds made of metal and wood.{% endblocktrans %}