org.egothor.cache.apps
Class Tester

java.lang.Object
  extended by org.egothor.cache.apps.Tester

public class Tester
extends java.lang.Object

Console application that test a cache using query log files on an index.


Constructor Summary
Tester()
           
 
Method Summary
static void main(java.lang.String[] args)
          Solves the queries of learning and testing files over an specified index and prints cache statistics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tester

public Tester()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Solves the queries of learning and testing files over an specified index and prints cache statistics. Takes three arguments - index location, learning file and testing file.

Learning and testing files should have a format of tab separated fields of result offset, page lenght and query.

Parameters:
args - the command line arguments
Throws:
java.lang.Exception - when a problem occurred