Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » highlight » [javadoc | source]
org.apache.lucene.search.highlight
public class: TokenGroup [javadoc | source]
java.lang.Object
   org.apache.lucene.search.highlight.TokenGroup
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     
Constructor:
 public TokenGroup(TokenStream tokenStream) 
Method from org.apache.lucene.search.highlight.TokenGroup 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 org.apache.lucene.search.highlight.TokenGroup 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()