Re: Setting Performance Thresholds

2006-02-07 Thread Erik Hatcher
This should be possible using a HitCollector with the IndexSearcher.search() method, and throwing an exception from the HitCollector when the time limit as expired. Erik On Feb 7, 2006, at 5:55 PM, RONALD MANTAY wrote: Hi , I am working on a search application using lucene

Setting Performance Thresholds

2006-02-07 Thread RONALD MANTAY
Hi , I am working on a search application using lucene where I would like application to stop searching and return the hits colleted to date and an appropriate exception, when reaching either a threshold of a) xx seconds of processing time. or b) on finding xxx documents

Setting Performance Thresholds

2006-02-07 Thread RONALD MANTAY
Hi , I am working on a search application using lucene where I would like application to stop searching and return the hits colleted to date and an appropriate exception, when reaching either a threshold of a) xx seconds of processing time. or b) on finding xxx documents