Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 32521 invoked from network); 14 Apr 2008 15:59:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 15:59:02 -0000 Received: (qmail 62883 invoked by uid 500); 14 Apr 2008 15:59:00 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 62852 invoked by uid 500); 14 Apr 2008 15:59:00 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 62843 invoked by uid 99); 14 Apr 2008 15:59:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 08:59:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.49.17] (HELO web52907.mail.re2.yahoo.com) (206.190.49.17) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 14 Apr 2008 15:58:08 +0000 Received: (qmail 21211 invoked by uid 60001); 14 Apr 2008 15:58:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=I9d5Qo+vdUh0wWqmq1g6bzjG4dNXE4N3umzGwfk6lq7J/mC/e26AzVKT6zAxjRkVNSuwJIoaU5J8uAdxl+sjlfoY0GFiu+/HFSHIokpQPWL3VNeeGli3lj1eSPvAWafj31J4QQ3PV7fZzuO7PAdEQ5jvUIqryektfzlv7D7jsN0=; X-YMail-OSG: kgBAyfoVM1nqVauKiuM99oGWb9EDWNQiKIwt915ADGNuvh1gbZxQpZwplOUelBCHdQ-- Received: from [88.229.82.159] by web52907.mail.re2.yahoo.com via HTTP; Mon, 14 Apr 2008 08:58:27 PDT Date: Mon, 14 Apr 2008 08:58:27 -0700 (PDT) From: AHMET ARSLAN Subject: capturing page numbers To: solr-user@lucene.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <168296.10825.qm@web52907.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org I have extracted text from .pdf files and I also inserted page numbers of the .pdf file to the text. My document looks something like: ..Some Text.. ..Some Text.. .................................. ........................... I indexed my data using solr and I am making highlighted queries.(hl.fragsize=200&hlsnippets=5). Currently I am displaying just snippets to the user, however I also want to capture the page number of the corresponding snippet. I will give a link to jump that page in the original pdf file. Is there a way that I can find out which page the snipped was extracted from, by using the tags? Any ideas and help is appreciated. Thank you... ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ