Author: jablko
Date: Wed Aug 26 16:02:38 2009
New Revision: 3080

Log:
Change parent field from keyword to unstored, like Jobeet example, 
http://www.symfony-project.org/jobeet/1_2/Propel/en/17#chapter_17_sub_the_save_method

Modified:
   trunk/apps/qubit/lib/SearchIndex.class.php

Modified: trunk/apps/qubit/lib/SearchIndex.class.php
==============================================================================
--- trunk/apps/qubit/lib/SearchIndex.class.php  Wed Aug 26 14:42:02 2009        
(r3079)
+++ trunk/apps/qubit/lib/SearchIndex.class.php  Wed Aug 26 16:02:38 2009        
(r3080)
@@ -213,7 +213,7 @@
 
     if (isset($informationObject->parent))
     {
-      $doc->addField(Zend_Search_Lucene_Field::Keyword('parentId', 
$informationObject->parent->id));
+      $doc->addField(Zend_Search_Lucene_Field::UnStored('parentId', 
$informationObject->parent->id));
     }
 
     // ID

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to