Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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().
Attachments
Issue Links
- links to