Timeout for search threads

2008-02-24 Thread Anshum
Hi, Is there a way I could add a timeout value for each search instance while searching? Currently I encounter issues while a bottleneck causing query continues to execute for over 1000 seconds(I am still looking into the cause for the same though, to remove it from the root) I need to have a TTL

Re: HELP...compiling first program for lucene Indexer.java

2008-02-24 Thread sumittyagi
hi, Thanks for replying.. Can you please explain more clearly that what exactly needs to be done in this program. Thanks Stephane Nicoll-2 wrote: > > Field.Text has been deprecated and removed a while back. You probably > found an old code sample on the Internet that is not applicable > anymore

directory-based search using lucence?

2008-02-24 Thread Nick Duan
Is there anyway to refine or rank search result based on some directory input? For instance, I could get a web directory from the open directory project (http://www.dmoz.org) containing a list of urls mapped to its directory. I'd like to refine my search result for certain categories. Yes, I kno

Re: HELP...compiling first program for lucene Indexer.java

2008-02-24 Thread Stephane Nicoll
Field.Text has been deprecated and removed a while back. You probably found an old code sample on the Internet that is not applicable anymore to 2.3 Just create your Fields wiht the constructor: new Field("") See the Javadoc for details. HTH, Stéphane On Sun, Feb 24, 2008 at 6:41 AM, sumit