Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 65372 invoked from network); 28 Apr 2008 03:44:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Apr 2008 03:44:38 -0000 Received: (qmail 62903 invoked by uid 500); 28 Apr 2008 03:44:36 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 62862 invoked by uid 500); 28 Apr 2008 03:44:36 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 62737 invoked by uid 99); 28 Apr 2008 03:44:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Apr 2008 20:44:36 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 03:43:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BD231234C11A for ; Sun, 27 Apr 2008 20:40:55 -0700 (PDT) Message-ID: <1449744772.1209354055773.JavaMail.jira@brutus> Date: Sun, 27 Apr 2008 20:40:55 -0700 (PDT) From: "Hasan Diwan (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-1275) Expose Document Number In-Reply-To: <1345299320.1209354055675.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hasan Diwan updated LUCENE-1275: -------------------------------- Attachment: lucene.pat Makes the indicated changes to the Document and IndexWriter classes. > Expose Document Number > ---------------------- > > Key: LUCENE-1275 > URL: https://issues.apache.org/jira/browse/LUCENE-1275 > Project: Lucene - Java > Issue Type: New Feature > Components: Index, Store > Affects Versions: 1.9, 2.0.0, 2.1, 2.2, 2.3, 2.3.1, 2.3.2, 2.4, 2.9, 3.0 > Environment: All > Reporter: Hasan Diwan > Priority: Minor > Attachments: lucene.pat > > > Lucene maintains an internal document number, which this patch exposes using a mutator/accessor pair of methods. The field is set on document addition. This creates a unique way to refer to a document for editing and updating individual documents. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org