Re: Exception raised when searching with sorting on an empty index.

2006-08-20 Thread Yonik Seeley
On 8/18/06, Mathias Herberts <[EMAIL PROTECTED]> wrote: When doing a search with sorting on a field (ts) on the MultiSearcher with an empty RAM based index, an exception is thrown saying: no terms in field ts - cannot determine sort type If you specify the type of sort you want, this shouldn't

Exception raised when searching with sorting on an empty index.

2006-08-18 Thread Mathias Herberts
Hi, I have an instance of MultiSearcher searching two indices, one based on an FSDirectory, and another one based on a RAMDirectory. The file based index is static, i.e. no changes are made to it. The RAM based index is used to add documents. When starting up, the RAM based index is empty. If I