Thanks. It looks like what I need but I am not quite understand how it actually modify SolrConfig.xml to enable highlight.
Is there an example xml snippet for? -----Original Message----- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Sunday, April 22, 2007 2:39 PM To: solr-dev@lucene.apache.org Subject: Re: The ability to offering offset of keyword in search result are you looking for highlighting? http://wiki.apache.org/solr/HighlightingParameters This would give you: In God We Trust – <em>Each</em> dollar had this David Xiao wrote: > Is that a feature that can identify offset of keyword in search result? > > > > For example, if there is a following text to be indexed: > > In God We Trust – Each dollar had this > > And user search for: Each, should return with value: 19. Means first occurs > at character 19. > > > > I am not sure if lucene or solr will, have provide this functionality? Do you > thought that could be useful to help give some search result context? Like > google search does. > > > > Regards, > > David > >