Revision #13 has been created by dckurushin on Oct 12, 2011, 12:45:08 PM with the memo:
highlightMatches possible issue
« previous (#12) next (#14) »
Adding search to Yii blog example (using Zend Lucene)
blog, demo, search, zend, zf, lucene, tutorial
[...]<?php else: ?>
<p class="error">No results matched your search terms.</p>
<?php endif; ?>
As you can see because I passed to the view the $query, I can use Zend's highlightMatches ...
(if your search result
not in english, you might have some encoding issues with highlightMatches
Also I created a real link from the linked I passed and created via
And thats it
try to search the word "it"