Skip to content

Add schema_version to snippets

Ravi Kumar requested to merge 372856-add-schema_version-to-snippets into master

What does this MR do and why?

This MR sets the schema_version value for the snippets type documents. This field is useful in the case of reindexing all documents of snippets

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  • Ensure Elsaticsearch is enabled.
  • Create a new snippet.
  • Verify on Elasticsearch that this snippet has a schema_version field set.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #372856 (closed)

#384599 (closed)

Edited by Ravi Kumar

Merge request reports

Loading