--TEST--
CLucene: IndexSearcher::__construct, constructed.
--SKIPIF--
<?php

require_once('skipif.inc');

?>
--POST--
--GET--
--INI--
--FILE--
<?php

require_once('param.inc');

try {
    $searcher = new IndexSearcher($path, $field);
} catch (Exception $e) {
    echo "An exception occurred.\n";    
    exit();
}
echo "IndexSearcher instance created.\n";

$searcher->close();

?>
--EXPECT--
IndexSearcher instance created.
