[ https://issues.apache.org/jira/browse/SOLR-14366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068382#comment-17068382 ]
Cao Manh Dat commented on SOLR-14366: ------------------------------------- Basically now, we ask deletionPolicy to give us an IndexCommit which contains * list of files * number of segments * commit’s userData But no maxDoc, since that information is obtained by sum up maxDoc from all segmentInfos. In theory we can get a IndexReader from SolrCore then get IndexCommit from that Reader instead of going through deletionPolicy. but getting IndexCommit from deletionPolicy give us a guarantee that all files relates to that commit are not deleted. Not sure we can get same guarantee from Reader. Any idea [~hossman] [~varun]? > Adding number of backed up documents to backup.properties > --------------------------------------------------------- > > Key: SOLR-14366 > URL: https://issues.apache.org/jira/browse/SOLR-14366 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Cao Manh Dat > Priority: Major > > This is a needed information but it is non trivial to achieve. -- 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