Author: peter
Date: Thu Sep 17 15:33:23 2009
New Revision: 3383
Log:
add publicationStastusId to the search index
Modified:
trunk/apps/qubit/lib/SearchIndex.class.php
Modified: trunk/apps/qubit/lib/SearchIndex.class.php
==============================================================================
--- trunk/apps/qubit/lib/SearchIndex.class.php Thu Sep 17 15:24:58 2009
(r3382)
+++ trunk/apps/qubit/lib/SearchIndex.class.php Thu Sep 17 15:33:23 2009
(r3383)
@@ -220,6 +220,8 @@
$doc->addField(Zend_Search_Lucene_Field::Keyword('culture', $language));
+ $doc->addField(Zend_Search_Lucene_Field::Unstored('publicationStatusId',
$informationObject->getStatus(array('typeId' =>
QubitTerm::STATUS_TYPE_PUBLICATION_ID))->statusId));
+
// Note: text fields have to be converted to lower-case for use with utf-8
analyzer
// IDENTIFIER
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---