\Zend_Search_Lucene_Analysis_Token
- Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Search_Lucene_Analysis_Token
{
- // members
- private $_termText;
- private $_startOffset;
- private $_endOffset;
- private $_positionIncrement;
- // methods
- public void __construct()
- public void setPositionIncrement()
- public integer getPositionIncrement()
- public string getTermText()
- public integer getStartOffset()
- public integer getEndOffset()
Members
private
- $_endOffset
—
integer
End in source text - $_positionIncrement
—
integer
The position of this token relative to the previous Token. - $_startOffset
—
integer
Start in source text. - $_termText
—
string
The text of the term.
Methods
public
- __construct() — Object constructor
- getEndOffset() — Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
- getPositionIncrement() — Returns the position increment of this Token.
- getStartOffset() — Returns this Token's starting offset, the position of the first character corresponding to this token in the source text.
- getTermText() — Returns the Token's term text.
- setPositionIncrement() — positionIncrement setter