Class BatchEndToEndTest

    • Field Detail

      • indexingOptions

        protected java.util.List<java.lang.String> indexingOptions
      • retrievalTopicSets

        protected java.util.List<java.lang.String> retrievalTopicSets
    • Constructor Detail

      • BatchEndToEndTest

        public BatchEndToEndTest()
    • Method Detail

      • joinSets

        public static java.lang.String[] joinSets​(java.lang.String[] specified,
                                                  java.util.List<java.lang.String> classDefaults)
      • countNumberOfTopics

        protected abstract int countNumberOfTopics​(java.lang.String filename)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • finishIndexing

        protected void finishIndexing()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doIndexing

        protected void doIndexing​(java.lang.String... trec_terrier_args)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addDirectStructure

        protected abstract void addDirectStructure​(IndexOnDisk index)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doRetrieval

        protected int doRetrieval​(java.lang.String[] topicSet,
                                  java.lang.String[] trecTerrierArgs)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doEvaluation

        protected void doEvaluation​(int expectedQueryCount,
                                    java.lang.String qrels,
                                    float expectedMAP)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doTrecTerrierIndexingRunAndEvaluate

        protected void doTrecTerrierIndexingRunAndEvaluate​(java.lang.String[] indexingArgs,
                                                           java.lang.String[] topics,
                                                           java.lang.String[] retrievalArgs,
                                                           java.lang.String qrels,
                                                           float expectedMAP)
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doTrecTerrierIndexing

        protected void doTrecTerrierIndexing​(java.lang.String... indexingArgs)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • checkIndex

        protected void checkIndex()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doTrecTerrierRunAndEvaluate

        protected void doTrecTerrierRunAndEvaluate​(java.lang.String[] topics,
                                                   java.lang.String[] retrievalArgs,
                                                   java.lang.String qrels,
                                                   float expectedMAP)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • makeCollectionSpec

        protected abstract void makeCollectionSpec​(java.io.PrintWriter p)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception