lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tang, Rebecca" <>
Subject How to search one field and highlight another
Date Wed, 02 Apr 2014 21:59:28 GMT
Hi there,

For dates we create two Solr fields: date_display and date.
date_display: stored = true, indexed = false, it's for display purpose only
date: stored = false, indexed = true, it's used for searching, ordering and faceting

When users search on date, I need to be able to highlight date_display.  I'm not sure how
to achieve this.  Is this possible?  Or do I have to rethink my index?


Rebecca Tang
Applications Developer, UCSF CKM
Legacy Tobacco Document Library<>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message