Re: Highlighting issue with PlainTextEntityProcessor.

2012-01-12 Thread meghana
Hi Erik.. Thanks for your reply.

And yes data was on index. but i found the problem , the problem was not of
PlainTextEntityProcessor. highlighting was returning in multivalued field
and in non-multivalued field there was less highlight. so i thought problem
may be in PlainTextEntityProcessor. 

But the actual problem was my Search field is very big... i increased
hl.MaxAnalyzedChar length... and it get working. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Highlighting-issue-with-PlainTextEntityProcessor-tp3650004p3653708.html
Sent from the Solr - User mailing list archive at Nabble.com.


Highlighting issue with PlainTextEntityProcessor.

2012-01-11 Thread meghana
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
strIs that a emcat?/em
strIs that a real emcat/em?/str
strOh, my God, it's a German emcat/em?!/str
strI won't rub this emcat/em/str
strDrop the emcat/em or I rip/str
strWithout emcats/em?/str
strForget the emcat/em, rommy./str
strYou steal emcats/em?/str
/arr


in new configuration i get it as below

arr name=XA
strIs that a emcat?/em
strIs that a real emcat/em?/str
strOh, my God, it's a German emcat/em?!/str
strI won't rub this emcat/em/str
strDrop the emcat/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.


Re: Highlighting issue with PlainTextEntityProcessor.

2012-01-11 Thread Erick Erickson
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
 strIs that a emcat?/em
 strIs that a real emcat/em?/str
 strOh, my God, it's a German emcat/em?!/str
 strI won't rub this emcat/em/str
 strDrop the emcat/em or I rip/str
 strWithout emcats/em?/str
 strForget the emcat/em, rommy./str
 strYou steal emcats/em?/str
 /arr


 in new configuration i get it as below
 
 arr name=XA
 strIs that a emcat?/em
 strIs that a real emcat/em?/str
 strOh, my God, it's a German emcat/em?!/str
 strI won't rub this emcat/em/str
 strDrop the emcat/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.