Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 10925 invoked from network); 27 Apr 2004 12:02:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Apr 2004 12:02:53 -0000 Received: (qmail 88975 invoked by uid 500); 27 Apr 2004 12:02:45 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 88955 invoked by uid 500); 27 Apr 2004 12:02:45 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 88937 invoked from network); 27 Apr 2004 12:02:44 -0000 Received: from unknown (HELO hotmail.com) (65.54.247.5) by daedalus.apache.org with SMTP; 27 Apr 2004 12:02:44 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 Apr 2004 05:02:45 -0700 Received: from 194.191.169.72 by by2fd.bay2.hotmail.msn.com with HTTP; Tue, 27 Apr 2004 12:02:45 GMT X-Originating-IP: [194.191.169.72] X-Originating-Email: [lufc4@hotmail.com] X-Sender: lufc4@hotmail.com From: "Alan Smith" To: lucene-user@jakarta.apache.org Bcc: Subject: searching only part of an index Date: Tue, 27 Apr 2004 13:02:45 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Apr 2004 12:02:45.0660 (UTC) FILETIME=[8D3955C0:01C42C4F] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi I wondered if anyone knows whether it is possible to search ONLY the 100 (or whatever) most recently added documents to a lucene index? I know that once I have all my results ordered by ID number in Hits I could then just display the required amount, but I wondered if there is a way to avoid searching all documents in the index in the first place? Many thanks Alan _________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org