Author: jablko
Date: Mon Aug 24 13:57:08 2009
New Revision: 3065
Log:
Add parent to 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 Mon Aug 24 11:52:36 2009
(r3064)
+++ trunk/apps/qubit/lib/SearchIndex.class.php Mon Aug 24 13:57:08 2009
(r3065)
@@ -242,6 +242,8 @@
$doc = new Zend_Search_Lucene_Document;
+ $doc->addField(Zend_Search_Lucene_Field::Keyword('parentId',
$informationObject->parent->id));
+
// ID
$doc->addField(Zend_Search_Lucene_Field::Keyword('objectId',
$informationObject->getId()));
$doc->addField(Zend_Search_Lucene_Field::Keyword('informationObjectId',
$informationObject->getId()));
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---