Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C7D27EE1 for ; Tue, 15 Nov 2011 12:05:51 +0000 (UTC) Received: (qmail 97446 invoked by uid 500); 15 Nov 2011 12:05:49 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 97396 invoked by uid 500); 15 Nov 2011 12:05:49 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 97388 invoked by uid 99); 15 Nov 2011 12:05:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 12:05:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of felipe.carvalho@gmail.com designates 209.85.161.48 as permitted sender) Received: from [209.85.161.48] (HELO mail-fx0-f48.google.com) (209.85.161.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 12:05:41 +0000 Received: by faap19 with SMTP id p19so365121faa.35 for ; Tue, 15 Nov 2011 04:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=fVpudX1A8At24+bTCBWYQTVCgiVUgNQ5E7sR5oaEVlY=; b=QvSool6cLoRBtQy1MP1yPS480VsV90HTls8pAyguTPVw2b/+veBwh+9xMTNx6Kif5U Tj8BE4eDWDGZF03gZhWHUnv7uxDiNtMictQsN3NeJqZGqmed96HIJRRynIVMBCm03GXq IfXqaoZtZ0G9WCoOV0NybkqKzi5czzpIxCRPU= Received: by 10.182.21.134 with SMTP id v6mr5983063obe.64.1321358721068; Tue, 15 Nov 2011 04:05:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.39.3 with HTTP; Tue, 15 Nov 2011 04:05:00 -0800 (PST) From: Felipe Carvalho Date: Tue, 15 Nov 2011 10:05:00 -0200 Message-ID: Subject: Lucene pagination To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=14dae93b63ec30acb104b1c4cd4c X-Virus-Checked: Checked by ClamAV on apache.org --14dae93b63ec30acb104b1c4cd4c Content-Type: text/plain; charset=ISO-8859-1 I've found a couple of people asking around the same thing over the internet, just wanted to check with the experts if there's a better way to do this: how do I paginate Lucene search results? Is there a native way to do this or should I, upon each request, open the index, do the search and get the slice of results I'm interested? Thanks! --14dae93b63ec30acb104b1c4cd4c--