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

ASF subversion and git services commented on SOLR-17038:
--------------------------------------------------------

Commit d9f48edf223b86ad0cd53fb4f5bb90d29c175a3e in solr's branch 
refs/heads/branch_9x from Rahul Goswami
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=d9f48edf223 ]

SOLR-17038: /admin/segments handler: Expose the term count (#2233)

(cherry picked from commit dbf1d1d5b444f4a416dd64af1fb30529f17f607b)


> /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: 1.5h
>  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: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to