Package org.terrier.structures.indexing.singlepass.hadoop

Examples of org.terrier.structures.indexing.singlepass.hadoop.IDComparator


      runData.add(tempHRD);
      runDataIn.close();
    }
    // Sort by splitnum
    Collections.sort(runData);
    Collections.sort(mapTaskIDs, new IDComparator(runData));
    // A list of the index shards
    MapIndexPrefixes = mapTaskIDs.toArray(new String[0]);
    return runData;
  }
View Full Code Here

TOP

Related Classes of org.terrier.structures.indexing.singlepass.hadoop.IDComparator

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.