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

Robert Muir commented on LUCENE-4670:
-------------------------------------

I think for this case we should not consider API backwards compatibility (The 
codec api is experimental).

Its far better to have the best APIs possible. It just seems confusing for 
finish(FieldInfos, int)
to be abstract and the others not. 

On the other hand adding more abstract methods makes the API more 
overwhelming...
                
> Add TermVectorsWriter.finish{Doc,Field,Term} to make development of new 
> formats easier
> --------------------------------------------------------------------------------------
>
>                 Key: LUCENE-4670
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4670
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 4.1
>
>         Attachments: LUCENE-4670.patch, LUCENE-4670.patch
>
>
> This is especially useful to LUCENE-4599 where actions have to be taken after 
> a doc/field/term has been added.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to