code: public static IndriQueryerBuilder queryerForIndex(File indexDir) {
      final IndriQueryerBuilder builder = new IndriQueryerBuilder();
      builder.addIndex(indexDir);
      return builder;
    }
docs: Gets an {@link com.bbn.nlp.indri.Indri.IndriQueryerBuilder} set up to use the specified
  directory as an Indri index.