You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Otis Gospodnetic (JIRA)" <ji...@apache.org> on 2008/04/28 05:54:55 UTC

[jira] Commented: (LUCENE-1275) Expose Document Number

    [ https://issues.apache.org/jira/browse/LUCENE-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592731#action_12592731 ] 

Otis Gospodnetic commented on LUCENE-1275:
------------------------------------------

Is this a good idea (I didn't notice a discussion on the list)?  Exposing the internals like this doesn't sound like a great idea to me...


> 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