Hi all,
I use multi-threads to do indexing work, sometimes I get invalid handle
exception. I am certain that I use the hit results before closing the
reader. What's wrong with me? Pls help me!
--
Thanks,
Jiang
Hi Erik,
It is really beacause of the IndexReader. I correct it and it's OK now.
Thank a lot!
Best Regards,
Jiang
2006/8/2, zhu jiang <[EMAIL PROTECTED]>:
Yep, I close the IndexReader before navigating Hits. Isn't it permitted?
2006/8/2, Erik Hatcher <[EMAIL PROT
Yep, I close the IndexReader before navigating Hits. Isn't it permitted?
2006/8/2, Erik Hatcher <[EMAIL PROTECTED]>:
Are you perhaps closing IndexReader or IndexSearcher before or while
navigating Hits?
Erik
On Aug 1, 2006, at 1:05 PM, zhu jiang wrote:
> Hi Erik,
>
be the "java.lang.IllegalArgumentException: Argument cannot be
null" the cause of your problem. Rootcauses of exceptions are always
the bottom aren't they?
simon
On 8/1/06, zhu jiang <[EMAIL PROTECTED]> wrote:
> Hi Erik,
>
> I use multi-threads to add lots
11:34 PM, zhu jiang wrote:
>When I query, I got this exception:The handle is invalid. What
> should I
> do?
You should give us a much more complete error message, including the
stack trace. :)
Erik
-
To unsu
Hi All,
When I query, I got this exception:The handle is invalid. What should I
do?
Thanks,
Jiang