コード例 #1
0
  public LexiconPostingChecker(String id, File dir, int revision, int findDocNo)
      throws IOException {
    this.id = id;
    this.dir = dir;
    this.rev = revision;
    this.findDocNo = findDocNo;

    System.out.println("Check dir = " + dir.getAbsolutePath());

    indexInput =
        new BufferedFileInput(
            IndexFileNames.getRevisionDir(dir, revision),
            IndexFileNames.getSearchLexiconFileName(id));
  }