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

Christine Poerschke reassigned SOLR-17038:
------------------------------------------

    Assignee: Christine Poerschke

> /admin/segments handler: Expose the term count
> ----------------------------------------------
>
>                 Key: SOLR-17038
>                 URL: https://issues.apache.org/jira/browse/SOLR-17038
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: David Smiley
>            Assignee: Christine Poerschke
>            Priority: Minor
>              Labels: newdev
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> The term count for a field is not exposed for diagnostic purposes.  Strangely 
> enough, more obscure statistics like sumDocFreq and sumTotalTermFreq are.
> Just need to add a line like:
> {quote}fieldFlags.add("termCount", terms.size());{quote}
> to SegmentsInfoRequestHandler next to [where those other stats are 
> gathered|https://github.com/apache/solr/blob/releases/solr/9.4.1/solr/core/src/java/org/apache/solr/handler/admin/SegmentsInfoRequestHandler.java#L371-L372].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to