Is IndexSearcher thread safe?

2005-03-01 Thread Volodymyr Bychkoviak
Is it thread-safe to share one instance of IndexSearcher between multiple threads? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Remove document fails

2005-03-01 Thread Volodymyr Bychkoviak
may be you have open IndexWriter at the same time you are trying to delete document. Alex Kiselevski wrote: Hi, I have a problem doing IndexReader.delete(int doc) and it fails on lock error. Alex Kiselevski +9.729.776.4346 (desk) +9.729.776.1504 (fax) AMDOCS INTEGRATED CUSTOMER MANAGEMENT

Large Index managing

2005-03-01 Thread Volodymyr Bychkoviak
and second IndexSearcher is reopened when second index changes. It is just idea. (It is not tested) Will it help to improve speed of updating large index and lower memory overhead? Any comments? Regards, Volodymyr Bychkoviak

Re: Fast access to a random page of the search results.

2005-02-28 Thread Volodymyr Bychkoviak
just retrieve Documents from 567100 to 567200 from Hits class you got while searching. Stanislav Jordanov wrote: Guys, my private investigation already left me sceptic about the outcome of this issue, but I've decided to post it as a final resort. Perhaps the gurus know the right answer :-)