[ https://issues.apache.org/jira/browse/LUCENE-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592733#action_12592733 ]
Hoss Man commented on LUCENE-1275: ---------------------------------- 1) this patch is almost impossible to read due to the amount of whitespace changes. 2) this patch doesn't achieve the goals listed in the description... bq. This creates a unique way to refer to a document for editing and updating individual documents. ...there is a lot more complexity to this then just knowing what maxDoc is when addDocument was called. Among other things: a segment merge could be triggered by the add which would purge deleted docs and shift the docIds down. > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]