RE: NullPointerException in ParallelMultiSearcher

2005-12-21 Thread Zhang, Lisheng
nie Kolehmainen [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 11:59 PM To: java-user@lucene.apache.org Subject: Re: NullPointerException in ParallelMultiSearcher I believe the most common case is when you do a search with Sort (AUTO feature), and one of the fields you sort by is empty.

Re: NullPointerException in ParallelMultiSearcher

2005-12-21 Thread Ronnie Kolehmainen
I believe the most common case is when you do a search with Sort (AUTO feature), and one of the fields you sort by is empty. The underlying IndexSearcher throws a RuntimeException and "docs" (result from searcher.search()) is never set, which results in a NullPointerException when hits() is cal

RE: NullPointerException in ParallelMultiSearcher

2005-12-20 Thread Zhang, Lisheng
Hi, I have not received any feedback yet, any comments would be greatly appreciated! Lisheng -Original Message- From: Zhang, Lisheng Sent: Thursday, December 01, 2005 12:30 PM To: 'java-user@lucene.apache.org' Subject: NullPointerException in ParallelMultiSearcher Hi, We are using lu