>> help me.
>>
>> I have Lucene indexing my site ok, but the problem is with queries.
>>
>> Search is fine with some terms but when searching with certain other
>> terms,
>> it seems mainly with terms containing spaces, although others have caused
>&g
spaces, although others have caused
problems, I get the IOException error "The handle is invalid". I have
debuged my app. and for some reason, the hits object is being filled with
mostly null doc objects and some doc objects with field values, however when
trying to loop through the hits obj
have caused
problems, I get the IOException error "The handle is invalid". I have
debuged my app. and for some reason, the hits object is being filled with
mostly null doc objects and some doc objects with field values, however when
trying to loop through the hits object, I get the &quo
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 PROTECTED]>:
> Are you perha
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,
>
>I use multi-t
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,
I use multi-threads to add lots of documents while querying. At the
begining,the query result is right, but after a while, when I quer
Hi Simon,
I have stepped into the program. The cause of the null argument is that
when I get the hits object after one query, the method of Hits.id throws
exceptions. The essential cause is the invalid handle. What should I do?
2006/8/2, Simon Willnauer <[EMAIL PROTECTED]>:
Could be the "j
Could 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 of documents while querying. At
Hi Erik,
I use multi-threads to add lots of documents while querying. At the
begining,the query result is right, but after a while, when I query again,
the exception thrown.Here is the stack trace:
java.io.IOException: invalid handle
at java.io.RandomAccessFile.seek(Native Method)
at org.apac
On Jul 31, 2006, at 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
-
Hi All,
When I query, I got this exception:The handle is invalid. What should I
do?
Thanks,
Jiang
11 matches
Mail list logo