[ 
https://issues.apache.org/jira/browse/LUCENE-3708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-3708:
--------------------------------

    Attachment: LUCENE-3708.patch
    
> codec postings api (finishDoc) is inconsistent
> ----------------------------------------------
>
>                 Key: LUCENE-3708
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3708
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3708.patch
>
>
> finishDoc says:
> {noformat}
>   /** Called when we are done adding positions & payloads
>    *  for each doc.  Not called  when the field omits term
>    *  freq and positions. */
>    public abstract void finishDoc() throws IOException;
> {noformat}
> But this is confusing (because a field can omit just positions, is it called 
> then?!),
> and wrong (because merging calls it always, even if freq+positions is 
> omitted).
> I think we should fix the javadoc and fix FreqProxTermsWriter to always call 
> finish()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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