lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lude <lucene.develo...@googlemail.com>
Subject Re: QueryParser returns all documents
Date Tue, 05 Sep 2006 09:41:24 GMT
> Why would you want to do this?

This is a 'feature-request' of our searchengine.
The user should have the possibilty to query for all(!) documents.
This would allow him to see all available document listet.

Is there a simple way to define a query that returns all documents of an
index?

Thanks lude

On 9/4/06, karl wettin <karl.wettin@gmail.com> wrote:
>
> On Mon, 2006-09-04 at 22:32 +0200, lude wrote:
>
> > How do you have to define the query-string to get all documents of an
> index
> > be returned by using the QueryParser?
> > In theory a query like 'NOT word_not_in_index' should find and return
> all
> > documents. In practice this doesn't work (no documents are found).
>
> Why would you want to do this?
>
> Use IndexReader methods to iterate all documents.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message