[
https://issues.apache.org/jira/browse/LUCENE-4670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549199#comment-13549199
]
Robert Muir commented on LUCENE-4670:
-------------------------------------
looks good. we could also add the state machine in the future to the
AssertingStoredFields like the term vectors has.
this way we ensure we don't forget to call finishDocument somewhere: currently
we only check that we actually call
writeField numStoredFields times and so on.
> 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, 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]