lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <>
Subject Re: Highlighter Hits
Date Wed, 12 Mar 2008 14:13:20 GMT
What does your stack trace look like? I've never seen Lucene "just quit"
without throwing an exception, and printStackTrace() is your friend.....

Or are you catching exceptions without logging them? If so, shame
on you <G>.....


P.S. I can't recommend strongly enough that you get a good IDE
and debug in it. I spent far too much of my life debugging with
printlns and never, ever want to go back there again... Eclipse
is free if sometimes "interesting" to set up. IntelliJ is sweet. And
a unit test or two will help significantly too. Sorry if you know all this,
but your comment about prints lights me right up <G>.....

On Wed, Mar 12, 2008 at 9:54 AM, JensBurkhardt <> wrote:

> Hello everybody,
> I have s slight problem using lucenes highlighter. If i have the
> highlighter
> enabled, a query creates 0 hits, if i disable the highlighter i get the
> hits.
> It seems like, when i call and pass my Hits hits to the
> highlighter function, the program quits. All prints after the highlighter
> call also do not appear.
> I have no idea what the problem is.
> Thanks in advise
> Jens Burkhardt
> --
> View this message in context:
> Sent from the Lucene - Java Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message