optimizing away the expensive cases is your best bet if you can do it ...
another option is to use a custom HitCollector which keeps track of how
long it's been running and throws a subclass of RUntimeException which you
explicitly catch and deal with as appropriate if the query has been taking
t
have a look at LuceneQueryOptimizer.java in nutch
- Original Message
From: Tim Johnson <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Wednesday, 21 February, 2007 3:34:36 PM
Subject: Stop long running queries
I'm having issues with some queries taking in excess of 500 secs t