Hello,
[G�nter Kukies]
>
> is it possible to get all Documents with the QueryParser? How
> should the querystring look like?
>
> The * is not allowed as a Wildcard for all Documents.
You can use the IndexReader to access all terms or documents. It is used
by the IndexSearcher to read the index.
You should change the QueryParser to allow * as Wildcard-Query and extend
the IndexSearcher to return all documents for this special query.
You can also try to create a RangeQuery with lowest and highest term as
bound,
e.g. [0 zzzzzzz], but this is probaly slower.
Regards,
Wolf-Dietrich
--
Wolf-Dietrich Materna
Development
empolis GmbH - arvato knowledge management
Kekul�str. 7
12489 Berlin, Germany
phone : +49-30-6780-6510
fax : +49-30-6780-6549
<<mailto:[EMAIL PROTECTED]>> <<http://www.empolis.com>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]