equal
deleted
inserted
replaced
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 |
250 EXPORT_C void CSearchDocument::AddHLDisplayFieldL(const TDesC& aField) |
250 EXPORT_C void CSearchDocument::AddHLDisplayFieldL(const TDesC& aField) |
251 { |
251 { |
|
252 #ifdef USE_HIGHLIGHTER |
252 // Needs to be tokenised to rewrite the query, but should not be searchable so EAggregateNo. |
253 // 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 AddFieldL( _L( CPIX_HL_EXCERPT_FIELD ), aField, CDocumentField::EStoreYes | CDocumentField::EIndexTokenized | CDocumentField::EAggregateNo ); |
|
255 #endif |
254 } |
256 } |
255 #endif |
257 |