org.compass.core
Interface CompassToken

All Known Implementing Classes:
LuceneToken

public interface CompassToken

A Token is an occurence of a term from the text of a field. It consists of a term's text, the start and end offset of the term in the text of the field, and a type string.

Author:
kimchy

Method Summary
 int getEndOffset()
           
 int getPositionIncrement()
           
 int getStartOffset()
           
 String getTermText()
           
 String getType()
           
 

Method Detail

getTermText

String getTermText()

getType

String getType()

getPositionIncrement

int getPositionIncrement()

getStartOffset

int getStartOffset()

getEndOffset

int getEndOffset()


Copyright (c) 2004-2009 The Compass Project.