Well, are you sure that the data is *in* the index? Did you change
maxFieldLength in solrconfig.xml?

First, I'd be sure that the data is in the stored field to highlight.

Best
Erick

Out of curiosity, why did you have to change from multValued?



On Wed, Jan 11, 2012 at 3:29 AM, meghana <meghana.rav...@amultek.com> wrote:
> Hi all,
>
> My Solr Configuration had one multi-valued field which is imported using
> XPathEntityProcess and TemplateTransformer . Then we had  to convert it to
> non-multivlaued field, We did that using PlainTextEntityProcessor and Script
> Transformer.
>
> Search on my old configuration was working fine ,  it returns me documents
> with proper highlighting. After changing multi-valued to non-multivalued
> field, on search i get less highlighting for few documents than older one.
>
> e.g i search with search Term 'cat' ,
>
> in old configuration i get one result as below
> ----------------------------
> <arr name="XA">
> <str>Is that a <em>cat?</em>
> <str>Is that a real <em>cat</em>?</str>
> <str>Oh, my God, it's a German <em>cat</em>?!</str>
> <str>I won't rub this <em>cat</em></str>
> <str>Drop the <em>cat</em> or I rip</str>
> <str>Without <em>cats</em>?</str>
> <str>Forget the <em>cat</em>, rommy.</str>
> <str>You steal <em>cats</em>?</str>
> </arr>
>
>
> in new configuration i get it as below
> ----------------------------
> <arr name="XA">
> <str>Is that a <em>cat?</em>
> <str>Is that a real <em>cat</em>?</str>
> <str>Oh, my God, it's a German <em>cat</em>?!</str>
> <str>I won't rub this <em>cat</em></str>
> <str>Drop the <em>cat</em> or I rip</str>
> </arr>
>
> aslo for few documents , i get record but with 0 highlighting.
> Do anybody have idea on this??
> Thanks
> Meghana
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Highlighting-issue-with-PlainTextEntityProcessor-tp3650004p3650004.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to