Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-25

TRECQueryingExpansion required trec.topics.list, trec.models files to exist

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.2.1
    • Fix Version/s: 3.5
    • Component/s: .applications
    • Labels:
      None

      Description

       *Using trec_terrier -r invokes the TRECQuerying application-level code. This uses trec.model and trec.topics properties to identify topics to use, but fallsback to use etc/trec.models and etc/trec.topics.list files.
       * TRECQueryingExpansion only uses etc/trec.models and etc/trec.topics.list files, and throws an exception if they do not exist, even if the trec.model and trec.topics properties are set.

      {noformat}
      FATAL - Input/Output exception while performing the matching. Stack trace follows.
      java.io.FileNotFoundException: /home/craigm/src/terrier/etc/trec.models (No such file or directory)
              at java.io.FileInputStream.open(Native Method)
              at java.io.FileInputStream.<init>(FileInputStream.java:106)
              at java.io.FileInputStream.<init>(FileInputStream.java:66)
              at uk.ac.gla.terrier.utility.io.LocalFileSystem.openFileStream(LocalFileSystem.java:97)
              at uk.ac.gla.terrier.utility.Files.openFile(Files.java:199)
              at uk.ac.gla.terrier.utility.Files.openFileReader(Files.java:489)
              at uk.ac.gla.terrier.utility.Files.openFileReader(Files.java:469)
              at uk.ac.gla.terrier.applications.TRECQueryingExpansion.processQueries(TRECQueryingExpansion.java:137)
              at TrecTerrier.run(TrecTerrier.java:422)
              at TrecTerrier.applyOptions(TrecTerrier.java:585)
              at TrecTerrier.main(TrecTerrier.java:244)
      {noformat}

        Attachments

          Issue Links

            Activity

            Hide
            craigm Craig Macdonald added a comment -

            Tagging for 3.1.

            Show
            craigm Craig Macdonald added a comment - Tagging for 3.1.
            Hide
            craigm Craig Macdonald added a comment -

            Duplicated/superceeded by TREC-216

            Show
            craigm Craig Macdonald added a comment - Duplicated/superceeded by TREC-216

              People

              • Assignee:
                nutli Nut Limsopatham
                Reporter:
                craigm Craig Macdonald
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: