Searcher

Searcher

Search help
Two types of search can be carried out:
- Regular: standard search by entering a text in the search box and pressing the Search button.
- Faceted: selecting any available filters according to the regular search carried out
In the query results, the order shown in the Categories list is established by the number of matches in that category with the search term, ordering from highest to lowest.
In the case of Keywords, the order of the list shown corresponds to the number of occurrences of the keyword in the results of the query made, ordering from highest to lowest number.

Search syntax
The search engine allows a wide range of search options.
By default, when more than one search term is provided, the OR operator is used. It is possible to modify this behavior using the AND operator.

Wildcard searches
The search engine supports wildcard searches of one or more characters. To search with single-character wildcards, use the question mark (?). To perform a search with various-characters wildcards, use the asterisk symbol (*).
The single-character wildcard search searches for terms that match the replaced single character. For example, to search for "congress" you can use the query congre?s .
Searching with various-characters wildcards searches for 0 or more characters. For example, to search for "congress" or "congresses" you can use the query congress*. It is also possible to use them in the middle of the congr*s query.

Fuzzy searches
The search engine supports fuzzy searches. To perform a fuzzy search, use the diacritical mark (~ [Alt+126]) at the end of a single-word query. For example, to search for a term similar in spelling to "roam" you can use the query roam ~ . This search will retrieve terms such as "foam" and "roaming".

Proximity searches
The search engine supports searching for words that are within a specific distance. To make a proximity search, use the diacritical mark (~ [Alt + 126]) at the end of a sentence followed by the maximum number of words of distance. For example, to search for "congress" and "deputies" within a group of 10 consecutive words in a document, you can use the query "congress deputies" ~ 10.

Exact search or phrase search
The search engine supports the search for a series of specific words in a certain order. To carry out an exact search, use the double quotation mark (") at the beginning and end of the sentence. For example, to search for "congress of deputies" you could use the query "congress of deputies".

Boolean operators
Boolean operators allow terms to be combined through logical operators. The search engine supports the AND, OR, NOT, + and - operators. These operators must be reported in capital letters to take effect.
- OR: OR operator is the default conjunction operator. This means that if there is no boolean operator between two terms, the OR operator is used. This operator links two terms and finds a matching document if any of the terms exists in it. This is equivalent to joining using sets. For example, to search for "congress of deputies" or simply "congress" you can use the query "congress of deputies" OR congress. The query "congress of deputies" congress would return the same result.
- AND: AND operator matches documents where both terms exist anywhere in their text. This is equivalent to an intersection of sets. For example, to search for documents containing "congress" and "deputies" you can use the query congress AND deputies.
- NOT: NOT operator excludes documents that contain the term after that operator. This is equivalent to a difference using sets. For example, to search for documents that contain "congress" but do not contain "deputies", you can use the query congress NOT deputies. This operator cannot be used with a single-term query. For example, searching NOT deputies will not return results.
- +: + operator forces the following term to exist in a document. For example, to search for documents that contain "congress" and perhaps contain "deputies" you can use the query + congress deputies.
- -: - operator (similar to the NOT operator) excludes documents that contain the term after that operator. For example, to search for documents that contain "congress" but do not contain "deputies", you can use the query congress - deputies.