5. Processing a query

5.1 Basic query processing

Query processing is started by pressing the Search button in the lower right corner of the TIGERSearch window, or pressing the Search button in the button toolbar, or selecting the Search item in the Query menu of the TIGERSearch window.

Please click to enlarge!

Figure: Starting query processing

The query processing progress window will keep you informed about the current status of query processing (cf. screenshot). Pressing the Cancel button will stop query processing. The matching corpus graphs found up to this point will be displayed by the GraphViewer (cf. section 7).

Please click to enlarge!

Figure: The query processing progress window

A common error that might occur during query processing is a syntax error detected by the query parser. In this case, a message window will be displayed that informs you about the error type (cf. screenshot). After pressing the OK button, the cursor will automatically jump to the error position.

Please click to enlarge!

Figure: Handling of syntax errors

When query processing has finished, the matching corpus graphs will be displayed by the GraphViewer (cf. screenshot and section 7 for a detailed description). You can also view the matches in the statistics mode (cf. section 8) or export your favourite matches using the export module (cf. section 9).

Please click to enlarge!

Figure: Query results

5.2 Advanced query processing

If you do not want to search the whole corpus, but just on a part of it, you can specify a corpus area. This feature is very useful for experimenting with queries. To specify a corpus area, open the Query Options window by clicking the corresponding toolbar icon or selecting the Search Options item in the Query menu of the TIGERSearch tool:

Please click to enlarge!

Figure: Query processing options

Now select one of the preselected search spaces or type in the search space using the syntax start-end. If you press the OK button, the defined search space will be saved for later processing. If you like to save the search space and immediately start query processing using the defined option, just click the Search button in the Query Options window.

Please note: After leaving the Query Options window, query processing using the search area option is only activated when clicking the Search with options toolbar icon or selecting the Search with options item in the Query menu. If you start query processing using the Search button, the defined search option will not be used.

If you do not want to view all matching corpus graphs, you can set an upper bound for the number of matching corpus graphs determined by the query processor. If you specify to search for n matching corpus graphs, query processing will be stopped automatically when n matching corpus graphs have been found. This option is also specified in the Query Options window.