[
https://issues.apache.org/jira/browse/SOLR-17038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christine Poerschke updated SOLR-17038:
---------------------------------------
Fix Version/s: 9.6.0
> /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
> Fix For: 9.6.0
>
> Time Spent: 1h 20m
> 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]