At some point, the discover_enhanced plugin was created as a license workaround which is no longer needed. We can move all of that code into the discover plugin, and any extra dependencies can be added as optional dependencies. We will need to ensure any config that is moved has a proper migration and that merging these plugins doesn't create circular dependencies.
At some point, the
discover_enhanced
plugin was created as a license workaround which is no longer needed. We can move all of that code into thediscover
plugin, and any extra dependencies can be added as optional dependencies. We will need to ensure any config that is moved has a proper migration and that merging these plugins doesn't create circular dependencies.For an example, see https://github.com/elastic/kibana/pull/122075.