searcher/searchclient/src/csearchdocument.cpp
changeset 18 3e1f76dd2722
parent 0 671dee74050a
child 21 2c484ac32ef0
equal deleted inserted replaced
15:cf5c74390b98 18:3e1f76dd2722
   244 EXPORT_C TReal32 CSearchDocument::Boost() const
   244 EXPORT_C TReal32 CSearchDocument::Boost() const
   245 	{
   245 	{
   246 	return iBoost; 
   246 	return iBoost; 
   247 	}
   247 	}
   248 
   248 
       
   249 #ifdef USE_HIGHLIGHTER
       
   250 EXPORT_C void CSearchDocument::AddHLDisplayFieldL(const TDesC& aField)
       
   251     {
       
   252     // Needs to be tokenised to rewrite the query, but should not be searchable so EAggregateNo.
       
   253     AddFieldL( _L( CPIX_HL_EXCERPT_FIELD ), aField, CDocumentField::EStoreYes | CDocumentField::EIndexTokenized | CDocumentField::EAggregateNo );
       
   254     }
       
   255 #endif