harvesterplugins/applications/src/applicationsplugin.cpp
changeset 9 4a2987baf8f7
parent 5 3bc31ad99ee7
child 15 df6898e696c6
child 17 7d8c8d8f5eab
--- a/harvesterplugins/applications/src/applicationsplugin.cpp	Wed Jun 23 17:22:18 2010 +0100
+++ b/harvesterplugins/applications/src/applicationsplugin.cpp	Mon Jun 28 11:03:15 2010 +0530
@@ -135,7 +135,7 @@
     OstTraceExt1( TRACE_NORMAL, CAPPLICATIONSPLUGIN_ADDWIDGETINFOL, "CApplicationsPlugin::AddWidgetInfoL;PATH=%S", &temp );
 
     //GetWidgetPropertyValueL returns CWidgetPropertyValue* which in turn has an operator to convert to TDesC
-    aDocument->AddFieldL(KApplicationFieldCaption, *(iWidgetRegistry.GetWidgetPropertyValueL( aUid, EBundleDisplayName )),  CDocumentField::EStoreYes | CDocumentField::EIndexTokenized );
+    aDocument->AddFieldL(KApplicationFieldCaption, *(iWidgetRegistry.GetWidgetPropertyValueL( aUid, EBundleDisplayName )), CDocumentField::EStoreYes | CDocumentField::EIndexTokenized | CDocumentField::EIndexFreeText);
 
     //For applications, no content to go into exceprt field.
     //For more info, check the appclass-hierarchy.txt
@@ -157,7 +157,7 @@
     //We index the exe name (without extension), only if the title is not present.
     if( aAppInfo.iShortCaption.Compare(KNullDesC) )
         {
-        aDocument->AddFieldL(KApplicationFieldCaption, aAppInfo.iShortCaption, CDocumentField::EStoreYes | CDocumentField::EIndexTokenized );
+        aDocument->AddFieldL(KApplicationFieldCaption, aAppInfo.iShortCaption, CDocumentField::EStoreYes | CDocumentField::EIndexTokenized | CDocumentField::EIndexFreeText);
         }
     else
         {