--- a/harvesterplugins/applications/src/applicationsplugin.cpp Fri Jun 11 13:39:26 2010 +0300
+++ b/harvesterplugins/applications/src/applicationsplugin.cpp Wed Jun 23 18:13:49 2010 +0300
@@ -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
{