Skip to content

Remove superflous schema default for LAST_INCOMING_CONTENT_VERSION_ID - #428

Open
AFaust wants to merge 1 commit into
Alfresco:masterfrom
AFaust:pr/remove-superflous-schema-default
Open

Remove superflous schema default for LAST_INCOMING_CONTENT_VERSION_ID#428
AFaust wants to merge 1 commit into
Alfresco:masterfrom
AFaust:pr/remove-superflous-schema-default

Conversation

@AFaust

@AFaust AFaust commented Jun 9, 2023

Copy link
Copy Markdown

This PR removes the default for the LAST_INCOMING_CONTENT_VERSION_ID field from the schema.xml. This default was superflous because:

  • the field is set to that value in the SolrInformationServer.addContentProperty method when content indexing is enabled
  • the field is not relevant at all for non-node index documents (transactions, acls, states) and thus the default even causes skewed distribution values in the SOLR schema (when viewed in UI) and may cause higher storage costs for those index documents

@aitseitz

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants