[ https://issues.apache.org/jira/browse/SOLR-15986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Roustant resolved SOLR-15986. ----------------------------------- Resolution: Fixed Thanks David for the review! > CommitUpdateCommand and SplitIndexCommand can write 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 > Fix For: 9.1 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > 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