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

Robert Muir commented on LUCENE-5700:
-------------------------------------

{quote}
Since we don't have this issue now (all classes that implement the interface 
know how to do it)
{quote}

Yeah, I don't think a class should implement the interface if it can't actually 
return a valid result.

> Add 'accountable' interface for various ramBytesUsed
> ----------------------------------------------------
>
>                 Key: LUCENE-5700
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5700
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5700.patch
>
>
> Currently this is a disaster. there is ramBytesUsed(), sizeInBytes(), etc etc 
> everywhere, with zero consistency, little javadocs, and no structure. For 
> example, look at LUCENE-5695, where we go back and forth on how to handle 
> "don't know". 
> I don't think we should add any more of these methods to any classes in 
> lucene until this has been cleaned up.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to