public abstract class BatchEndToEndTest extends ApplicationSetupBasedTest
Modifier and Type | Class and Description |
---|---|
static class |
BatchEndToEndTest.BatchEndToEndTestEventHooks |
Modifier and Type | Field and Description |
---|---|
protected List<String> |
indexingOptions |
protected List<String> |
retrievalTopicSets |
protected List<BatchEndToEndTest.BatchEndToEndTestEventHooks> |
testHooks |
terrier_etc, terrier_home, tmpfolder
Constructor and Description |
---|
BatchEndToEndTest() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addDirectStructure(IndexOnDisk index) |
protected void |
checkIndex() |
protected abstract int |
countNumberOfTopics(String filename) |
protected void |
doEvaluation(int expectedQueryCount,
String qrels,
float expectedMAP) |
protected void |
doIndexing(String... trec_terrier_args) |
protected int |
doRetrieval(String[] topicSet,
String[] trecTerrierArgs) |
protected void |
doTrecTerrierIndexing(String... indexingArgs) |
protected void |
doTrecTerrierIndexingRunAndEvaluate(String[] indexingArgs,
String[] topics,
String[] retrievalArgs,
String qrels,
float expectedMAP) |
protected void |
doTrecTerrierRunAndEvaluate(String[] topics,
String[] retrievalArgs,
String qrels,
float expectedMAP) |
protected void |
finishIndexing() |
static String[] |
joinSets(String[] specified,
List<String> classDefaults) |
protected abstract void |
makeCollectionSpec(PrintWriter p) |
addGlobalTerrierProperties, deleteTerrierEtc, makeEnvironment, writeTemporaryFile, writeTemporaryFile, writeTemporaryFolder
protected List<BatchEndToEndTest.BatchEndToEndTestEventHooks> testHooks
protected abstract int countNumberOfTopics(String filename) throws Exception
Exception
protected void doIndexing(String... trec_terrier_args) throws Exception
Exception
protected abstract void addDirectStructure(IndexOnDisk index) throws Exception
Exception
protected int doRetrieval(String[] topicSet, String[] trecTerrierArgs) throws Exception
Exception
protected void doEvaluation(int expectedQueryCount, String qrels, float expectedMAP) throws Exception
Exception
protected void doTrecTerrierIndexingRunAndEvaluate(String[] indexingArgs, String[] topics, String[] retrievalArgs, String qrels, float expectedMAP) throws Exception
Exception
protected void doTrecTerrierIndexing(String... indexingArgs) throws Exception
Exception
protected void doTrecTerrierRunAndEvaluate(String[] topics, String[] retrievalArgs, String qrels, float expectedMAP) throws Exception
Exception
protected abstract void makeCollectionSpec(PrintWriter p) throws Exception
Exception
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow