A pretty big variable here in trying to find a "clever" solution to your
problem is: how many results do you want?
Do you need all of them for some sort of downstream processing, or are you
only interested in the first M? ... how big is M?
Assuming M is something managable, i would try writing a
> -Original Message-
> From: karl wettin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 23, 2006 6:44 PM
> To: java-user@lucene.apache.org
> Subject: Re: Removing search results that fall within a time range
>
> On Tue, 2006-05-23 at 17:38 -0400, Benjamin Stei
On Tue, 2006-05-23 at 17:38 -0400, Benjamin Stein wrote:
> I have a requirement to only return one result for all documents whose
> timestamps fall within N seconds of one another. (where timestamp is a
> field and N is an integer).
>
> For example, Document A is timestamped "12:00:00" and Documen