Guide for search bar advanced queries

 

Tessmann allows you to query the document database directly through the search bar, for more precise results and personalized researches.

 

Search terms

 

Possible word inputs are distinguished into two main elements

 

  • Sentences

    A sentence is made up of terms enclosed in double quotation marks and is regarded as a single term.

    "Andres Hofer ist im Bozen geboren" - returns only texts in which the phrase appears as it is with only a space between the terms.

  • Single Words

    A simple search term.
    Andreas Hofer - returns texts containing either Andreas or Hofer, with earlier documents with both words.
    Within a single search term, you can use the special characters * e ? as placeholders for unknown characters.

    • Using the character ? will change the word by one character
      Te?t – returns documents containing "Test" or "Text".
    • Using the character * extends the word indefinitely.
      Boz* - returns any term that begins with "Boz",such as Bozen or Bozner.

 

 

You can use combinations of individual terms and phrases to compose very complex queries.

All operators should be written in upper case letters and possess the required number of terms, or they will have no effect.


  • AND

    The AND operator forces an inclusive search of at least two terms, for example:
    Andreas AND Hofer – returns only the documents with both terms.
    Andreas AND "Bozen Meran" – returns only the documents with the first single term and the whole sentence "Bozen Meran".

  • OR

    The OR operator includes in the result set at least one of the two terms.
    Andreas OR Hofer - returns pages with at least one occurence of "Andreas" or "Hofer".

  • NOT

    The NOT operator excludes the presence of the word next to it in the result set.
    Andreas NOT Hofer – returns pages containing at least "Andreas" or only "Hofer".
    NOT Hofer – returns all the texts that do not contain the word "Hofer.

 

 

Tessmann Portal supports researches by approximation of terms(Fuzzy Search) and words maximum distance in the text.


Approximates the word for the Levenshtein distance, or how many changes, additions and reductions of letters are necessary in order to go from the original word to the one found.

You can set this number by using the ~ character, with a value ranging from 0.0 to 1.0, where 0.0 is the original word, and 1.0 is the maximum distance from that word.

Entering Bozen~0.1 produces results such as Boxen, Boten and Noten

Distance between Terms

Tessmann Portal supports the search for words within a specific distance. To perform a proximity search use the symbol ~, but at the end of a sentence.

For example, in order to search for "Bozen" and "Meran" within 10 words of each other in a document, type: "Meran Bozen"~10

 

Search by priority

 

The search for priority allows to increase the importance of a term over another. You can specify the priority of a term or phrase using the ^, followed by a numerical value indicating the priority.

For example, if you want to see in the resulting documents the term Meran, with an higher priority compared to Bozen, type Meran^4 Bozen - "Meran" has a priority 4 times higher than "Bozen".

 

Search by metadata (title, year, name and type)

 

The advanced search allows you to select documents for metadata (title, year, name..), rather than for textual content.

At the moment you can query the following fields:
  • Year of publication, using Y: - with the standard format DD.MM.YYYY
  • Publisher, using P: - this option is possible only for books, for newspapers is equivalent to the document name.
  • Document name, using N:
  • Type of pubblication, using T: - At the moment values must be either "B", for books, or "Z", for newspapers.

For example, entering N:"Bozner Nachrichten" will output all media named "Bozner Nachrichten".

 

It is important to notice that the text provided after : must not contain spaces, or you will have to enclose it in double quotes. It is always possible to use modifiers of terms and sentences to get more general results (see Search Terms for more details).


Y:02.05.1917 - returns all documents dated exactly 2 May 1915, while
Y:* 1917 or Y:??.??.1917 - returns all documents from 1917.

 

Some examples of advanced combined queries

 

It is possible to combine all the above mentioned operators to make requests of arbitrary complexity. Some examples are reported here:

  1. Andreas AND Bozen AND N:*1917 – returns all documents containing both "Andreas" and "Bozen" from 1917.
  2. "Andreas Hofer" AND Bozen AND T:Z AND N:Dolomitten - returns only newspapers containing "Andreas Hofer" and "Bozen" from the publisher "Dolomitten".
  3. "Kurhaus Meran"~20 OR "Waltherplatz Bozen"~10 – returns all documents where or Meran Kurhaus and are at a distance of up to 20 words, or Waltherplatz and Bozen are at a maximum distance of 10 words, or both conditions at the same time.