You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Jan Stövesand <j....@finix.de> on 2001/12/17 17:56:50 UTC
Using a DateFilter without a query
Hi,
is it possible to use a DateFilter without a query. I would like to get all
Documents from within a certain period of time WITHOUT specifying any query
except the range of dates.
OR
Is there something like query that will always return all documents from an
index?
Jan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Using a DateFilter without a query
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hello,
--- Jan_St�vesand <j....@finix.de> wrote:
> Hi,
>
> is it possible to use a DateFilter without a query. I would like to
> get all
> Documents from within a certain period of time WITHOUT specifying any
> query except the range of dates.
I don't know, but I'd like to know. Have you tried it?
> Is there something like query that will always return all documents
> from an index?
This has been asked in the past. It can't be done, but you could work
around it by adding a field with a known, constant value to each
document. Then searching for that will give you all documents in the
index.
Is there a better way?
Otis
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>