public override bool IncrementToken()
{
while (input.IncrementToken())
{
if (termAtt.Term.Equals("the"))
{
// stopword, do nothing
}
else if (termAtt.Term.Equals("quick"))
{
posIncrAtt.PositionIncrement = 2;
return true;
}
else
{
posIncrAtt.PositionIncrement = 1;
return true;
}
}
return false;
}
}