lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Highlighting issue with PlainTextEntityProcessor.
Date Wed, 11 Jan 2012 15:40:13 GMT
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.ravani@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.

Mime
View raw message