protected class BlockIndexer.DelimFieldTermProcessor 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 |
---|
BlockIndexer.DelimFieldTermProcessor(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 final gnu.trove.THashSet<String> blockDelimiterTerms
protected final boolean indexDelimiters
protected final boolean countDelimiters
public BlockIndexer.DelimFieldTermProcessor(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