User Tools

Site Tools


2.3 Search options

When you query the corpus, you receive an output with a list of search results. What these search results look like depends on your query but also on the setting in Search options. You find these settings as an alternative to the corpus list by selecting the according tab. These settings are set for all queries that you make in the future until you close ANNIS and start it again. In that case, they are set back to the default.


Often, it does not make sense to look at an individual token or message. Instead you want to see what was written before and after the text that you queried. The first three options in the Search options define what you see for each query:

  • Show context in …: here you can choose "tokens (default)" or "msg" to be the unit for the context window, i.e. the number of tokens or the number of messages to the left and right. If you choose tokens, you get a very narrow view. If you choose messages, you might have to search for what you are looking for because messages can be very long.
  • Left and right context: depending on what you selected as a context, you can say how many tokens or messages to the left and to the right you want to see.

Please keep in mind: in the list of results you can always change the number of right and left context that you want to see for every search result. However, you cannot decide later on whether you want to see messages or tokens as a context.

Results per page

Here you can choose how many search results you want to see per page. Please keep in mind that showing too many results will slow the system down.

Also, you can set the order whether the results that appear first in the corpus are to be shown first or whether you want to see the last ones first and then work your way backwards. The latter option is slower and does not really make sense in our corpus since there is no logical order to the numbering of the chats.

02_browsing/03_search_options.txt · Last modified: 2022/06/27 09:21 by

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki