Skip to content

[META] Split and modularize the server monolith #8110

@nknize

Description

@nknize

Related modularization discuss issue (more than just JPMS support): #5910
Related JPMS issue: #1588

[WIP] This meta issue tracks the scope for refactoring the monolithic :server module into separable libraries to support JPMS and serverless or cloud native implementation extensions.

Phase 0 - JPMS Support (Eliminate top level split packages, see #1838)

Phase 1 - Decoupling to support serverless and cloud native implementation extensions

  • o.o.env - refactor classes to o.o.core.env in :libs:opensearch-core (dependency of o.o.bootstrap)
  • o.o.common.settings - refactor classes to o.o.core.common.settings in :libs:opensearch-core (dependency of o.o.env)
  • o.o.cluster.metadata - refactor select classes to a new :libs:opensearch-cluster library
  • Remove org.apache.lucene
    • org.apache.lucene.codecs (handle from Star Tree implementation)
    • org.apache.lucene.index (handle from Star Tree implementation)
    • org.apache.lucene.search.grouping.
    • Updated the QueryStringQueryParser from XQueryParser to the more standard QueryParser.

Resulting libraries:

:libs:opensearch-common
:libs:opensearch-core
:libs:opensearch-cluster

relates #1838

Metadata

Metadata

Labels

MetaMeta issue, not directly linked to a PRRoadmap:Modular ArchitectureProject-wide roadmap labelWIPWork in progressdistributed frameworkenhancementEnhancement or improvement to existing feature or requestlucenev3.0.0Issues and PRs related to version 3.0.0

Type

No type

Projects

Status

Not In Plan

Status

New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions