isActive ()) throw new Exception (__ ('Global search is not active!')); require_once 'Zend/Search/Lucene.php'; $instance = Instance::singleton (); $index = Lucene::singleton ()->getIndex (); $hits = $index->find ($query); $oTerms = Zend_Search_Lucene_Search_QueryParser::parse ($query)->rewrite ($index)->getQueryTerms (); $terms = array (); foreach ($oTerms as $trash => $oTerm) if (!in_array ($oTerm->text, $terms)) $terms [] = $oTerm->text; ?>
$hit) { ?>
Resultados Local
content, $terms) ?> local ?>    
count () ?>