Dictionary loader

It's a dummy class which is created to encapsulate non-good structured code. Manual "method inlining" is performed to increase dictionary index loading operation which is major bottelneck for search performance.

category Zend
package Zend_Search_Lucene
subpackage Index
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Dictionary index loader.

load(string $data) : array
Static

It takes a string which is actually .tii index file data and returns two arrays - term and tremInfo lists.

See Zend_Search_Lucene_Index_SegmintInfo class for details

Parameters

$data

string

Exceptions

\Zend_Search_Lucene_Exception

Returns

array