equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Search_Lucene |
16 * @package Zend_Search_Lucene |
17 * @subpackage Analysis |
17 * @subpackage Analysis |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: Token.php 20096 2010-01-06 02:05:09Z bkarwin $ |
20 * @version $Id: Token.php 24832 2012-05-30 13:14:44Z adamlundrigan $ |
21 */ |
21 */ |
22 |
22 |
23 |
23 |
24 /** |
24 /** |
25 * @category Zend |
25 * @category Zend |
26 * @package Zend_Search_Lucene |
26 * @package Zend_Search_Lucene |
27 * @subpackage Analysis |
27 * @subpackage Analysis |
28 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
28 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
29 * @license http://framework.zend.com/license/new-bsd New BSD License |
29 * @license http://framework.zend.com/license/new-bsd New BSD License |
30 */ |
30 */ |
31 class Zend_Search_Lucene_Analysis_Token |
31 class Zend_Search_Lucene_Analysis_Token |
32 { |
32 { |
33 /** |
33 /** |
121 */ |
121 */ |
122 public function getTermText() |
122 public function getTermText() |
123 { |
123 { |
124 return $this->_termText; |
124 return $this->_termText; |
125 } |
125 } |
|
126 |
|
127 /** |
|
128 * Sets the Token's term text. |
|
129 * |
|
130 * @param string $text |
|
131 * @return this |
|
132 */ |
|
133 public function setTermText($text) |
|
134 { |
|
135 $this->_termText = $text; |
|
136 return $this; |
|
137 } |
126 |
138 |
127 /** |
139 /** |
128 * Returns this Token's starting offset, the position of the first character |
140 * Returns this Token's starting offset, the position of the first character |
129 * corresponding to this token in the source text. |
141 * corresponding to this token in the source text. |
130 * |
142 * |