You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Furkan KAMACI <fu...@gmail.com> on 2013/11/02 00:25:38 UTC

Re: Highlight: simple.pre/post not being applied always

Could you write down your parameters for highlighting and information about
your "analysts_texts" field type?


2013/10/31 Andy Pickler <an...@gmail.com>

> Solr: 4.5.1
>
> I'm sending in a query of "july" and getting back the results and
> highlighting I expect with one exception:
>
> <result snippet>
> <lst name="ProjectGroup 1729">
> <arr name="analysts_texts">
> <str>@@@hl@@@Julie@@@endhl@@@ A</str>
> </arr>
> </lst>
> <lst name="ProjectGroup 2230">
> <arr name="meta_data_display_names_wild_textw">
> <str>#Month:July</str>
> </arr>
> </lst>
> </result snippet>
>
> The simple.pre of @@@hl@@@ and simple.post of @@@endhl@@@ is not being
> applied to the one case of the field "#Month:July", even though it's
> included in the highlighting section.  I've tried changing various
> highlighting parameters to no avail.  Could someone help me know where to
> look for why the pre/post aren't being applied?
>
> Thanks,
> Andy Pickler
>