Author: jablko
Date: Mon Aug 24 11:52:36 2009
New Revision: 3064
Log:
Bring search plugins up to date
Modified:
trunk/apps/qubit/lib/SearchIndex.class.php
trunk/apps/qubit/modules/search/actions/searchAction.class.php
trunk/plugins/ (props changed)
Modified: trunk/apps/qubit/lib/SearchIndex.class.php
==============================================================================
--- trunk/apps/qubit/lib/SearchIndex.class.php Mon Aug 24 11:37:00 2009
(r3063)
+++ trunk/apps/qubit/lib/SearchIndex.class.php Mon Aug 24 11:52:36 2009
(r3064)
@@ -102,6 +102,7 @@
*/
public static function updateTranslatedLanguages($object)
{
+ xfLuceneZendManager::load();
Zend_Search_Lucene_Analysis_Analyzer::setDefault(new
Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8Num());
foreach (self::getTranslatedLanguages($object) as $languageCode)
Modified: trunk/apps/qubit/modules/search/actions/searchAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/search/actions/searchAction.class.php Mon Aug
24 11:37:00 2009 (r3063)
+++ trunk/apps/qubit/modules/search/actions/searchAction.class.php Mon Aug
24 11:52:36 2009 (r3064)
@@ -26,6 +26,7 @@
$this->getResponse()->setTitle('Search for \''.$request->query.'\'', true);
+ xfLuceneZendManager::load();
Zend_Search_Lucene_Analysis_Analyzer::setDefault(SearchIndex::getIndexAnalyzer());
Zend_Search_Lucene_Search_QueryParser::setDefaultEncoding('utf-8');
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---