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
getTermText
String getTermText()
getType
String getType()
getPositionIncrement
int getPositionIncrement()
getStartOffset
int getStartOffset()
getEndOffset
int getEndOffset()
Copyright (c) 2004-2008 The Compass Project.