--- a/web/lib/Zend/Search/Lucene/Analysis/Token.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Search/Lucene/Analysis/Token.php Thu Mar 21 19:50:53 2013 +0100
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Token.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Token.php 24832 2012-05-30 13:14:44Z adamlundrigan $
*/
@@ -25,7 +25,7 @@
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Search_Lucene_Analysis_Token
@@ -123,6 +123,18 @@
{
return $this->_termText;
}
+
+ /**
+ * Sets the Token's term text.
+ *
+ * @param string $text
+ * @return this
+ */
+ public function setTermText($text)
+ {
+ $this->_termText = $text;
+ return $this;
+ }
/**
* Returns this Token's starting offset, the position of the first character