protected class Hadoop_BlockSinglePassIndexer.DelimTermProcessor extends Object implements TermPipeline
Modifier and Type | Field and Description |
---|---|
protected gnu.trove.THashSet<String> |
blockDelimiterTerms |
protected boolean |
countDelimiters |
protected boolean |
indexDelimiters |
Constructor and Description |
---|
Hadoop_BlockSinglePassIndexer.DelimTermProcessor(String[] _delims,
boolean _indexDelimiters,
boolean _countDelimiters) |
Modifier and Type | Method and Description |
---|---|
void |
processTerm(String t)
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.
|
protected gnu.trove.THashSet<String> blockDelimiterTerms
protected final boolean indexDelimiters
protected final boolean countDelimiters
public Hadoop_BlockSinglePassIndexer.DelimTermProcessor(String[] _delims, boolean _indexDelimiters, boolean _countDelimiters)
public void processTerm(String t)
TermPipeline
processTerm
in interface TermPipeline
t
- String the term to process.public boolean reset()
TermPipeline
reset
in interface TermPipeline
Terrier 4.0. Copyright © 2004-2014 University of Glasgow