Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » highlight » [javadoc | source]
public class: TokenGroup [javadoc | source]
One, or several overlapping tokens, along with the score(s) and the scope of the original text
Field Summary
 Token[] tokens     
 float[] scores     
 int numTokens     
 int startOffset     
 int endOffset     
 float tot     
 int matchStartOffset     
 int matchEndOffset     
 public TokenGroup(TokenStream tokenStream) 
Method from Summary:
addToken,   clear,   getEndOffset,   getNumTokens,   getScore,   getStartOffset,   getToken,   getTotalScore,   isDistinct
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
  void addToken(float score) 
  void clear() 
 public int getEndOffset() 
 public int getNumTokens() 
 public float getScore(int index) 
 public int getStartOffset() 
 public Token getToken(int index) 
 public float getTotalScore() 
 boolean isDistinct()