DictionaryLoader
in package
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.
Tags
Table of Contents
Methods
- load() : array<string|int, mixed>
- Dictionary index loader.
Methods
load()
Dictionary index loader.
public
static load(string $data) : array<string|int, mixed>
It takes a string which is actually <segment_name>.tii index file data and returns two arrays - term and tremInfo lists.
See Zend_Search_Lucene_Index_SegmintInfo class for details
Parameters
- $data : string