Terrier Sample Applications

There are several provided applications that come bundled with Terrier version 1.0.0.

Trec Terrier

This application allows Terrier to index and retrieve from standard TREC test collections. Terrier has been submitted to the TREC forum in years 2002 [1], 2003 [2, 3] and 2004 [4]. The scripts for running Terrier for TREC in Linux are:

bin/trec_setup.sh, bin/trec_terrier.sh (Linux, Mac OS X)
bin/trec_setup.bat, bin/trec_terrier.bat (Windows)

For more information you may refer to the instructions about indexing and retrieving from TREC test collections with Terrier.

Desktop Search

This is an example of using Terrier in a desktop setting. This Swing (graphical) application can be used to index files from your local machine, and then perform queries on them. The scripts for running the desktop search application are:

desktop_search.sh (Linux, Mac OS X)
desktop_search.bat (Windows)

More information about using Terrier Desktop Search can be found in the Terrier Desktop Search File.

Interactive Querying

If you have an index, and you would like to perform simple queries on it, then use interactive_terrier.sh which is a console application for performing queries and seeing which documents are returned. The scripts for running the interactive querying application are:

interactive_terrier.sh (Linux, Mac OS X) 
interactive_terrier.bat (Windows)

[1] V. Plachouras, I. Ounis, G. Amati and C.J. van Rijsbergen. University of Glasgow at the Web track of TREC 2002. In Proceedings of the 11th Text Retrieval Conference TREC 2002, Gaithersburg, MD, 2002.
[2] V. Plachouras, F. Cacheda, I. Ounis and C.J. van Rijsbergen. University of Glasgow at the Web Track: Dynamic Application of Hyperlink Analysis using the Query Scope. In Proceedings of the 12th Text Retrieval Conference TREC 2003, Gaithersburg, MD, 2003.
[3] B. He and I. Ounis. University of Glasgow at the Robust Track - A Query-based Model Selection Approach for the Poorly-Performing Queries. In Proceedings of the 12th Text Retrieval Conference TREC 2003, Gaithersburg, MD, 2003.
[4] V. Plachouras, B. He and I. Ounis. University of Glasgow at TREC2004: Experiments in Web, Robust and Terabyte tracks with Terrier. In Proceedings of the 13th Text REtrieval Conference (TREC2004), Gaithersburg MD, USA, 2004.