lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Using a DateFilter without a query
Date Mon, 17 Dec 2001 17:01:16 GMT
Hello,

--- Jan_Stövesand <j.stoevesand@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:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message