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

Shawn Heisey updated SOLR-8499:
-------------------------------
    Attachment: SOLR-8499.patch

The patch I'm attaching to do this is extremely simple.

Would this be a bad idea for any reason?

> Add segmentCount and hasDeletions to SolrIndexSearcher stats
> ------------------------------------------------------------
>
>                 Key: SOLR-8499
>                 URL: https://issues.apache.org/jira/browse/SOLR-8499
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 5.4
>            Reporter: Shawn Heisey
>            Assignee: Shawn Heisey
>            Priority: Minor
>         Attachments: SOLR-8499.patch
>
>
> I'd like to add a statistic to the /admin/mbeans (SolrInfoMBeanHandler) 
> results -- the number of segments in the Lucene index.  I think it would be 
> best to add it to the stats returned by SolrIndexSearcher.  Currently that 
> info is available from /admin/luke (LukeRequestHandler), but I'm finding it 
> very painful to add another client request to the code where I want to use 
> this additional info.
> As long as I'm fiddling, hasDeletions would be another addition that some 
> people might find useful.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to