Package org.terrier.structures.indexing.singlepass

Examples of org.terrier.structures.indexing.singlepass.RunsMerger$PostingComparator


  /**
   * Hook method that creates a FieldRunMerger instance
   * @throws IOException if an I/O error occurs.
   */
  protected void createFieldRunMerger(String[][] files) throws Exception{
    merger = new RunsMerger(new FileRunIteratorFactory(files, FieldPostingInRun.class, super.numFields));
  }
View Full Code Here


  /**
   * Hook method that creates a RunsMerger instance
   * @throws IOException if an I/O error occurs.
   */
  protected void createRunMerger(String[][] files) throws Exception{
    merger = new RunsMerger(new FileRunIteratorFactory(files,
        useFieldInformation ? FieldPostingInRun.class : SimplePostingInRun.class, 0));
  }
View Full Code Here

 
  /** {@inheritDoc} */
  @Override
  protected void createRunMerger(String[][] files) throws Exception{
    //modified to use getPostingInRunClass()
    merger = new RunsMerger(new FileRunIteratorFactory(files, getPostingInRunClass(), 0));
  }
View Full Code Here

    basicInvertedIndexPostingIteratorClass = BlockIterablePosting.class.getName();
    fieldInvertedIndexPostingIteratorClass = BlockFieldIterablePosting.class.getName();
  }
 
  protected void createFieldRunMerger(String[][] files) throws IOException{
    merger = new RunsMerger(new FileRunIteratorFactory(files, BlockFieldPostingInRun.class, super.numFields));
  }
View Full Code Here

  protected void createFieldRunMerger(String[][] files) throws IOException{
    merger = new RunsMerger(new FileRunIteratorFactory(files, BlockFieldPostingInRun.class, super.numFields));
  }
 
  protected void createRunMerger(String[][] files) throws Exception{
    merger = new RunsMerger(new FileRunIteratorFactory(files, BlockPostingInRun.class, 0));
  }
View Full Code Here

TOP

Related Classes of org.terrier.structures.indexing.singlepass.RunsMerger$PostingComparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.