import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -17,13 +17,24 @@
|
||||
* @subpackage Analysis
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Common.php 16541 2009-07-07 06:59:03Z bkarwin $
|
||||
* @version $Id: Common.php 18947 2009-11-12 11:57:17Z alexander $
|
||||
*/
|
||||
|
||||
|
||||
/** Define constant used to provide correct file processing order */
|
||||
/** @todo Section should be removed with ZF 2.0 release as obsolete */
|
||||
define('ZEND_SEARCH_LUCENE_COMMON_ANALYZER_PROCESSED', true);
|
||||
|
||||
|
||||
/** Zend_Search_Lucene_Analysis_Analyzer */
|
||||
require_once 'Zend/Search/Lucene/Analysis/Analyzer.php';
|
||||
|
||||
/** Zend_Search_Lucene_Analysis_Token */
|
||||
require_once 'Zend/Search/Lucene/Analysis/Token.php';
|
||||
|
||||
/** Zend_Search_Lucene_Analysis_TokenFilter */
|
||||
require_once 'Zend/Search/Lucene/Analysis/TokenFilter.php';
|
||||
|
||||
|
||||
/**
|
||||
* Common implementation of the Zend_Search_Lucene_Analysis_Analyzer interface.
|
||||
|
@ -17,7 +17,7 @@
|
||||
* @subpackage Analysis
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Utf8.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: Utf8.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@ class Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8 extends Zend_Search_Lucen
|
||||
* @var integer
|
||||
*/
|
||||
private $_bytePosition;
|
||||
|
||||
|
||||
/**
|
||||
* Object constructor
|
||||
*
|
||||
@ -101,12 +101,12 @@ class Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8 extends Zend_Search_Lucen
|
||||
|
||||
// matched string
|
||||
$matchedWord = $match[0][0];
|
||||
|
||||
|
||||
// binary position of the matched word in the input stream
|
||||
$binStartPos = $match[0][1];
|
||||
|
||||
|
||||
// character position of the matched word in the input stream
|
||||
$startPos = $this->_position +
|
||||
$startPos = $this->_position +
|
||||
iconv_strlen(substr($this->_input,
|
||||
$this->_bytePosition,
|
||||
$binStartPos - $this->_bytePosition),
|
||||
|
@ -17,7 +17,7 @@
|
||||
* @subpackage Analysis
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CaseInsensitive.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: CaseInsensitive.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ require_once 'Zend/Search/Lucene/Analysis/TokenFilter/LowerCaseUtf8.php';
|
||||
*/
|
||||
|
||||
|
||||
class Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8_CaseInsensitive extends Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8
|
||||
class Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8_CaseInsensitive extends Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
* @subpackage Analysis
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Utf8Num.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: Utf8Num.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
|
||||
@ -101,12 +101,12 @@ class Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num extends Zend_Search_Lu
|
||||
|
||||
// matched string
|
||||
$matchedWord = $match[0][0];
|
||||
|
||||
|
||||
// binary position of the matched word in the input stream
|
||||
$binStartPos = $match[0][1];
|
||||
|
||||
|
||||
// character position of the matched word in the input stream
|
||||
$startPos = $this->_position +
|
||||
$startPos = $this->_position +
|
||||
iconv_strlen(substr($this->_input,
|
||||
$this->_bytePosition,
|
||||
$binStartPos - $this->_bytePosition),
|
||||
|
Reference in New Issue
Block a user