Hi Uwe, Thanks for your answer. I am using now lucene-highlighter-3.0.3 but the problem I have this error:
“SpanScorer can’t be resolved as a type” > SpanScorer scorer = new SpanScorer(query, fieldName, new > CachingTokenFilter(stream)); I checked the class path and there were no old version of lucene only: lucene-highlighter-3.0.3.jar and lucene-core-3.0.3.jar any hints? Thanks Farag -- View this message in context: http://lucene.472066.n3.nabble.com/lucene-highlighter-tp3522464p3522535.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org