[ https://issues.apache.org/jira/browse/SOLR-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090040#comment-17090040 ]
Isabelle Giguere edited comment on SOLR-8394 at 4/22/20, 9:01 PM: ------------------------------------------------------------------ Hi [~dsmiley]; The real-world circumstance is easy : just use the luke handler, after adding a few documents in Solr. http://localhost:8983/solr/<some-collection>/admin/luke?wt=xml Or, if you mean who exactly would need to read indexHeapUsageBytes and in what circumstances... I think it may be useful to estimate a cluster size, as in SOLR-8393 ... not that I would have that code in mind right now. As for the code improvement... I'll try to get around to it. was (Author: igiguere): Hi [~dsmiley]; The real-world circumstance is easy : just use the luke handler, after adding a few documents in Solr. http://localhost:8983/solr/<some-collection>/admin/luke?wt=xml Or, if you mean who exactly would need to read indexHeapUsageBytes and in what circumstances... I think it may be useful to estimate a cluster size (as in SOLR-8393) As for the code improvement... I'll try to get around to it. > Luke handler doesn't support FilterLeafReader > --------------------------------------------- > > Key: SOLR-8394 > URL: https://issues.apache.org/jira/browse/SOLR-8394 > Project: Solr > Issue Type: Improvement > Reporter: Steve Molloy > Assignee: David Smiley > Priority: Major > Attachments: SOLR-8394.patch, SOLR-8394.patch, SOLR-8394.patch > > > When fetching index information, luke handler only looks at ramBytesUsed for > SegmentReader leaves. If these readers are wrapped in FilterLeafReader, no > RAM usage is returned. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org