Terrier IR Platform
2.2.1

uk.ac.gla.terrier.indexing.hadoop
Class Hadoop_BlockSinglePassIndexer

java.lang.Object
  extended by uk.ac.gla.terrier.indexing.Indexer
      extended by uk.ac.gla.terrier.indexing.BasicIndexer
          extended by uk.ac.gla.terrier.indexing.BasicSinglePassIndexer
              extended by uk.ac.gla.terrier.indexing.hadoop.Hadoop_BasicSinglePassIndexer
                  extended by uk.ac.gla.terrier.indexing.hadoop.Hadoop_BlockSinglePassIndexer
All Implemented Interfaces:
java.io.Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.Text,Wrapper<Document>,MapEmittedTerm,MapEmittedPostingList>, org.apache.hadoop.mapred.Reducer<MapEmittedTerm,MapEmittedPostingList,java.lang.Object,java.lang.Object>

public class Hadoop_BlockSinglePassIndexer
extends Hadoop_BasicSinglePassIndexer

A MapReduce single-pass indexer that records term positions (blocks). All normal block properties are supported. For more information, see BlockIndexer.

Since:
2.2
Version:
$Revision: 1.3 $
Author:
Richard McCreadie, Craig Macdonald and Rodrygo Santos

Constructor Summary
Hadoop_BlockSinglePassIndexer()
          Constructs an instance of this class, where the created data structures are stored in the given path.
 
Method Summary
 void createMemoryPostings()
          Hook method that creates the right type of MemoryPostings class.
 
Methods inherited from class uk.ac.gla.terrier.indexing.hadoop.Hadoop_BasicSinglePassIndexer
close, configure, map, reduce, startReduce
 
Methods inherited from class uk.ac.gla.terrier.indexing.BasicSinglePassIndexer
createDirectIndex, createInvertedIndex, createInvertedIndex, performMultiWayMerge
 
Methods inherited from class uk.ac.gla.terrier.indexing.Indexer
index, isUTFIndexing, main, merge, merge, useFieldInformation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hadoop_BlockSinglePassIndexer

public Hadoop_BlockSinglePassIndexer()
Constructs an instance of this class, where the created data structures are stored in the given path.

Method Detail

createMemoryPostings

public void createMemoryPostings()
Description copied from class: BasicSinglePassIndexer
Hook method that creates the right type of MemoryPostings class.


Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow