Zend_Search_Lucene::__construct
Opens the index.
IndexReader constructor needs Directory as a parameter. It should be a string with a path to the index folder or a Directory object.
Signature
public function __construct([Zend_Search_Lucene_Storage_Directory_Filesystem|string
$directory = NULL,
[boolean
$create = false]] )
Parameters
$directory
— object
$create
— boolean