searcher/searchclient/src/csearchdocument.cpp
changeset 17 7cda54f2d97f
parent 16 2729d20a0010
child 19 e3c09e9691e0
equal deleted inserted replaced
16:2729d20a0010 17:7cda54f2d97f
   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
   249 #ifdef USE_HIGHLIGHTER
   250 //EXPORT_C void CSearchDocument::AddHLDisplayFieldL(const TDesC& aField)
   250 EXPORT_C void CSearchDocument::AddHLDisplayFieldL(const TDesC& aField)
   251 //    {
   251     {
   252 //    // Needs to be tokenised to rewrite the query, but should not be searchable so EAggregateNo.
   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 );
   253     AddFieldL( _L( CPIX_HL_EXCERPT_FIELD ), aField, CDocumentField::EStoreYes | CDocumentField::EIndexTokenized | CDocumentField::EAggregateNo );
   254 //    }
   254     }
   255 //#endif
   255 #endif