Hi,
I was wondering if anyone else has experienced this issue. I replaced my
zend framework 1.0.0 with version 1.0.3. After doing so I ran my Zend
Lucene Search and i is unable to read the indexes. I receive the following
error:
Uncaught exception 'Zend_Search_Lucene_Exception' with message 'chmod() [
function.chmod function.chmod ]: Operation not permitted'
If I revert back to 1.0.0 the Zend search works as expected. My script is
as follows:
***********
require_once 'Zend/Search/Lucene.php';
$index = new Zend_Search_Lucene('data/index');
$queryStripped='Test';
try {
$hits = $index->find($queryStripped);
} catch (Zend_Search_Lucene_Search_QueryParserException $e) {
"<div style='color:red;'>There appears to be an error in your query
syntax please try a different query</div>";
//echo "Query syntax error: " . $e->getMessage() . "\n";
}
$totalHits = count($hits);
$indexSize = $index->count();
echo "<div>Hits: $totalHits of $indexSize</div>";
**********
--
View this message in context:
http://www.nabble.com/Upgrading-1.0.0-to-1.0.3-zend-lucene-search-error-tf4961758s16154.html#a14211542
Sent from the Zend Framework mailing list archive at Nabble.com.