[ https://issues.apache.org/jira/browse/SOLR-15986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488895#comment-17488895 ]
Bruno Roustant commented on SOLR-15986: --------------------------------------- PR: https://github.com/apache/solr/pull/608 > CommitUpdateCommand writes user commit metadata > ----------------------------------------------- > > Key: SOLR-15986 > URL: https://issues.apache.org/jira/browse/SOLR-15986 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Bruno Roustant > Priority: Major > > Even if it is possible in Lucene to store user custom metadata (string > key-value pairs) in each commit, Solr CommitUpdateCommand does not support > that. > Internally SolrIndexWriter.setCommitData sets commit time and commit command > version, but it does not support writing user data. > The idea here is to add a commitData field in CommitUpdateCommand, which > would be stored in SolrIndexWriter.setCommitData. Later, the commit data can > be retrieved with SegmentInfos.readLatestCommit(dir).getUserData(). -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org