lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kranti K K Parisa <>
Subject Re: Phrase Highlighting with special characters
Date Wed, 18 Aug 2010 12:03:12 GMT
Seems the following is working

            query.setParam("hl.fl", "<fieldname>");

also I was reading something about (I didn't use it yet)

<bool name="hl.usePhraseHighlighter">true</bool>

On Wed, Aug 18, 2010 at 2:06 PM, Kranti K K Parisa

> Hi All,
> I am trying with Solr Highlighting. I have problem in highlighting phrases
> consists of special characters
> for example, if I search for a phrase like  "united. states. usa"  then the
> results are displayed matching the exact phrase and also without special
> characters means "united states usa"
> but highlights only the exact phrase which is  "united. states. usa", the
> results without special characters"united states usa" is not highlighted.
> Can anyone give comments/suggestion.
> Thanks, Kranti

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