Hi Lee,

What issues are you having mate? The highlighted fragments appear in a 
different section to the response, toward the bottom (can't remember the 
element names without referring to the docs). The stored fields returned are 
not replaced with the highlighted fragments.

Cheers
Dave


-----Original Message-----
From: Lee Smith [mailto:l...@weblee.co.uk] 
Sent: 12 March 2010 08:43
To: solr-user@lucene.apache.org
Subject: Fwd: Highlighting Results

Can anyone help ??

Begin forwarded message:

> From: Lee Smith <l...@weblee.co.uk>
> Date: 11 March 2010 17:25:59 GMT
> To: solr-user@lucene.apache.org
> Subject: Highlighting Results
> Reply-To: solr-user@lucene.apache.org
> 
> Hi All
> 
> Im not sure where i'm going wrong but highlighting does not seem to work for 
> me.
> 
> I have indexed around 5000 PDF documents which went well.
> 
> Running normal queries against the attr_content works well.
> 
> When adding any hl code it does not seem to make a bit of difference.
> 
> Here is an example query: ?q=attr_content:Some 
> Name&hl=true&hl.fl=attr_content&hl.fragsize=50&rows=5
> 
> If I am correct fragsize should be limiting the returned content for 
> attr_content ?? and the keyowrds found in attr_contnet should be surronded 
> with the <em> tags ?
> 
> The attr_content is a stored if this helps.
> 
> Hope someone can point me in the right direction.
> 
> Thank you if you can !
> 
> 

Reply via email to