Author: david
Date: Tue Sep 29 12:13:41 2009
New Revision: 3588

Log:
Make 'repositoryid' a keyword field.

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

Modified: trunk/apps/qubit/lib/SearchIndex.class.php
==============================================================================
--- trunk/apps/qubit/lib/SearchIndex.class.php  Tue Sep 29 10:45:12 2009        
(r3587)
+++ trunk/apps/qubit/lib/SearchIndex.class.php  Tue Sep 29 12:13:41 2009        
(r3588)
@@ -271,7 +271,7 @@
     $repository = $informationObject->getRepository(array('inherit' => true));
     if (null !== $repository)
     {
-      $doc->addField(Zend_Search_Lucene_Field::Unindexed('repositoryid', 
$repository->getId()), $encoding);
+      $doc->addField(Zend_Search_Lucene_Field::Keyword('repositoryid', 
$repository->getId()), $encoding);
       $doc->addField(Zend_Search_Lucene_Field::Unstored('repository', 
$repository->getAuthorizedFormOfName(), $encoding));
     }
     else

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