diff -r 0a2ec6860a93 -r df6898e696c6 harvesterplugins/applications/src/applicationsplugin.cpp --- a/harvesterplugins/applications/src/applicationsplugin.cpp Mon Jul 12 00:27:06 2010 +0530 +++ b/harvesterplugins/applications/src/applicationsplugin.cpp Mon Jul 26 12:45:04 2010 +0530 @@ -240,7 +240,14 @@ //That way, if a client is interested in the UID field, he can choose to query it explicitly. document->AddFieldL(KMimeTypeField, KMimeTypeApplication, CDocumentField::EStoreYes | CDocumentField::EIndexUnTokenized ); document->AddFieldL(KApplicationFieldUid, docidString, CDocumentField::EStoreYes | CDocumentField::EIndexTokenized | CDocumentField::EAggregateNo ); - +#ifdef USE_HIGHLIGHTER + TInt excerptLength = docidString.Length(); + HBufC* excerpt = HBufC::NewL(excerptLength); + TPtr excerptPtr = excerpt->Des(); + CleanupStack::PushL(excerpt); + document->AddExcerptL(excerptPtr); + CleanupStack::PopAndDestroy(excerpt); +#endif if( iWidgetRegistry.IsWidget( aAppInfo.iUid ) ) AddWidgetInfoL( document, aAppInfo.iUid ); else