Highlighter throws ClassCastException TextFragment cannot be cast to DocumentFragment

2012-12-27 Thread Bin Lan
We have a section of code that does the text highlight, it was running fine under lucene 1.9.1, but we are getting the following error after upgrade to 3.6.1. It does not seem to be anything that we have control of. any body have any suggestion on how to fix this? Exception while trying to select

Re: Highlighter throws ClassCastException TextFragment cannot be cast to DocumentFragment

2012-12-27 Thread Bin Lan
Woops, please ignore this. There is a mixed version of jar file... Sorry about this. Regards -- Bin Lan Software Developer Perimeter E-Security O - (203)541-3412 Follow Us on Twitter: www.twitter.com/PerimeterNews Read Our Blog: security.perimeterusa.com/blog On Thu, Dec 27, 2012 at 3:39 PM