protected class 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 |
---|
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 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 Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow