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, writeTemporaryFolderprotected List<BatchEndToEndTest.BatchEndToEndTestEventHooks> testHooks
protected abstract int countNumberOfTopics(String filename) throws Exception
Exceptionprotected void doIndexing(String... trec_terrier_args) throws Exception
Exceptionprotected abstract void addDirectStructure(IndexOnDisk index) throws Exception
Exceptionprotected int doRetrieval(String[] topicSet, String[] trecTerrierArgs) throws Exception
Exceptionprotected void doEvaluation(int expectedQueryCount,
String qrels,
float expectedMAP)
throws Exception
Exceptionprotected void doTrecTerrierIndexingRunAndEvaluate(String[] indexingArgs, String[] topics, String[] retrievalArgs, String qrels, float expectedMAP) throws Exception
Exceptionprotected void doTrecTerrierIndexing(String... indexingArgs) throws Exception
Exceptionprotected void doTrecTerrierRunAndEvaluate(String[] topics, String[] retrievalArgs, String qrels, float expectedMAP) throws Exception
Exceptionprotected abstract void makeCollectionSpec(PrintWriter p) throws Exception
ExceptionTerrier Information Retrieval Platform 5.2. Copyright © 2004-2019, University of Glasgow