org.terrier.indexing
Class BasicIndexer.BasicTermProcessor

java.lang.Object
  extended by org.terrier.indexing.BasicIndexer.BasicTermProcessor
All Implemented Interfaces:
TermPipeline
Enclosing class:
BasicIndexer

protected class BasicIndexer.BasicTermProcessor
extends java.lang.Object
implements TermPipeline

This class implements an end of a TermPipeline that adds the term to the DocumentTree. This TermProcessor does NOT have field support.


Constructor Summary
protected BasicIndexer.BasicTermProcessor()
           
 
Method Summary
 void processTerm(java.lang.String term)
          Processes a term using the current term pipeline component and passes the output to the next pipeline component, if the term has not been discarded.
 boolean reset()
          This method implements the specific rest option needed to implements query or doc oriented policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicIndexer.BasicTermProcessor

protected BasicIndexer.BasicTermProcessor()
Method Detail

processTerm

public void processTerm(java.lang.String term)
Description copied from interface: TermPipeline
Processes a term using the current term pipeline component and passes the output to the next pipeline component, if the term has not been discarded.

Specified by:
processTerm in interface TermPipeline
Parameters:
term - String the term to process.

reset

public boolean reset()
Description copied from interface: TermPipeline
This method implements the specific rest option needed to implements query or doc oriented policy.

Specified by:
reset in interface TermPipeline
Returns:
results of the operation


Terrier 3.5. Copyright © 2004-2011 University of Glasgow