Yep that was it :-) Thanks !
-----Ursprüngliche Nachricht----- Von: Illés Solt [mailto:[email protected]] Gesendet: Freitag, 29. Januar 2010 15:42 An: [email protected] Betreff: Re: Highlighter / cannot be instantiated Are you sure you imported Highlighter from the correct lucene namespace org.apache.lucene.search.highlight.Highlighter and not something else like javax.swing.text.Highlighter? Illes 2010/1/28 Marc Schwarz <[email protected]>: > I'm trying to get the highlighter running, but didn't get it work. > > Everywhere it's posted as following: > > Highlighter highlighter = new Highlighter(new SimpleHTMLFormatter(), > new QueryScorer(query)); > > but that gives me a > "Highlighter is abstract; cannot be instantiated". > > I'm using version 2.9 of highliter/2.9 of lucene > > Any ideas ? Thanks :-) > > Greetings, > Marc > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
