public final class CropTerm extends Object implements TermPipeline
| Modifier and Type | Field and Description |
|---|---|
protected static int |
maxLen
Maximum length a term can be
|
protected TermPipeline |
next
The next object in the term pipeline
|
| Constructor and Description |
|---|
CropTerm(TermPipeline _next)
Creates a new CropTerm pipeline object, which can be used in the
term pipeline
|
| Modifier and Type | Method and Description |
|---|---|
void |
processTerm(String t)
Reduces the term to the maximum allowed size for this indexing run
|
boolean |
reset()
Implements the default operation for all TermPipeline subclasses;
By default do nothing.
|
protected static final int maxLen
protected final TermPipeline next
public CropTerm(TermPipeline _next)
_next - The next termpipeline object to pass the term onto.public void processTerm(String t)
processTerm in interface TermPipelinet - String the term to check the length of.public boolean reset()
reset in interface TermPipelineTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow