Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
8.0
Description
If we want to start using DocBasedVersionConstraintsUpdateRequestProcessor on an existing index, we have to reindex everything to set value for the 'versionField' field, otherwise We can't start using DocBasedVersionConstraintsUpdateRequestProcessor on an existing index because we get this line throwing shade:
throw new SolrException(SERVER_ERROR, "Doc exists in index, but has null versionField: " + versionFieldName);
We have to reindex everything into a new collection, which isn't always practical/possible. The proposal here is to have an option to allow the existing docs to be missing this field and to simply treat those docs as older than anything coming in with that field set.