Author: david
Date: Mon Feb 20 12:05:48 2012
New Revision: 10945
Log:
Allow searching on "partOf" field
Modified:
trunk/lib/QubitSearch.class.php
Modified: trunk/lib/QubitSearch.class.php
==============================================================================
--- trunk/lib/QubitSearch.class.php Mon Feb 20 11:35:37 2012 (r10944)
+++ trunk/lib/QubitSearch.class.php Mon Feb 20 12:05:48 2012 (r10945)
@@ -500,7 +500,7 @@
$collectionRoot = $informationObject->getCollectionRoot();
$doc->addField(Zend_Search_Lucene_Field::Keyword('collectionRootSlug',
$collectionRoot->slug));
- $doc->addField(Zend_Search_Lucene_Field::UnIndexed('partOf',
$collectionRoot->getTitle()));
+ $doc->addField(Zend_Search_Lucene_Field::Keyword('partOf',
$collectionRoot->getTitle()));
// Digital object information
if ($digitalObject = $informationObject->getDigitalObject())
--
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.com/group/qubit-commits?hl=en.