Bruno Roustant created SOLR-15986: ------------------------------------- Summary: 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
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