Skip to main content
Version: 0.8.1

Elastic Cloud/Elasticsearch 8.x to Lucenia compatibility

This document provides a comprehensive feature mapping between Elastic Cloud/Elasticsearch 8.x and Lucenia. Lucenia is based on OpenSearch 2.14, which was originally forked from Elasticsearch 7.10.2.

Key compatibility notes

  • API compatibility: Lucenia maintains compatibility with Elasticsearch 7.10.2 APIs
  • Breaking changes: Features introduced in Elasticsearch 8.x may not have direct equivalents
  • Migration path: Direct migration requires API adjustments and feature mapping

Core search features

FeatureElastic Cloud/ES 8.xLuceniaMigration notes
Full-text searchYesYesCompatible
Term queriesYesYesCompatible
Match queriesYesYesCompatible
Boolean queriesYesYesCompatible
Range queriesYesYesCompatible
Fuzzy searchYesYesCompatible
Wildcard queriesYesYesCompatible
Regex queriesYesYesCompatible
Phrase searchYesYesCompatible
Proximity searchYesYesCompatible
Vector search (kNN)Native supportk-NN pluginRequires plugin installation
Semantic searchELSER, E5 modelsML Commons pluginDifferent implementation
Hybrid searchRRF (8.8+)Hybrid queryDifferent syntax
Runtime fieldsYes (7.11+)YesDynamicFields API
Point in Time (PIT)YesYesCompatible
Async searchYesYesCompatible
Search templatesYesYesCompatible
Multi-searchYesYesCompatible
Scroll APIDeprecatedYesUse PIT in both platforms
SQL supportYesSQL pluginRequires plugin
PPL supportNoPPL pluginOpenSearch-specific

Indexing and data management

FeatureElastic Cloud/ES 8.xLuceniaMigration notes
Dynamic mappingYesYesCompatible
Explicit mappingYesYesCompatible
Data typesAll standard typesAll standard typesCompatible
Nested objectsYesYesCompatible
Parent-childJoin fieldJoin fieldCompatible
Geo typesgeo_point, geo_shapegeo_point, geo_shapeCompatible
Data streamsYes (7.9+)YesCompatible
Index templatesComposable templatesComposable templatesCompatible
Index Lifecycle Management (ILM)YesISM (Index State Management)Different implementation
Rollover APIYesYesCompatible
Shrink/Split indexYesYesCompatible
Force mergeYesYesCompatible
Reindex APIYesYesCompatible
Update by queryYesYesCompatible
Delete by queryYesYesCompatible
Bulk APIYesYesCompatible
Ingest pipelinesYesYesCompatible
Ingest nodeYesYesCompatible
Processors40+ processorsMost processorsCheck specific processors
Snapshot and restoreYesYesCompatible
Searchable snapshotsYes (7.10+)Limited supportDifferent implementation
Frozen indicesYesNoUse cold tier instead

Aggregations

FeatureElastic Cloud/ES 8.xLuceniaMigration notes
Metrics aggregations
Avg, Sum, Min, MaxYesYesCompatible
Stats, Extended StatsYesYesCompatible
PercentilesYesYesCompatible
CardinalityYesYesCompatible
Value CountYesYesCompatible
Geo Bounds/CentroidYesYesCompatible
Top MetricsYes (7.7+)NoUse top_hits instead
Bucket aggregations
TermsYesYesCompatible
HistogramYesYesCompatible
Date HistogramYesYesCompatible
RangeYesYesCompatible
Filter(s)YesYesCompatible
NestedYesYesCompatible
Reverse NestedYesYesCompatible
SamplerYesYesCompatible
CompositeYesYesCompatible
Multi-termsYes (7.12+)NoUse scripted terms
Pipeline aggregationsYesYesCompatible
Matrix aggregationsYesYesCompatible

Cluster management and operations

FeatureElastic Cloud/ES 8.xLuceniaMigration notes
Cluster healthYesYesCompatible
Node managementYesYesCompatible
Shard allocationYesYesCompatible
Cluster rerouteYesYesCompatible
Voting configurationYesYesCompatible
Master electionYesCluster ManagerTerminology change
Node rolesMultiple rolesMultiple rolesCompatible
Remote clustersCCS/CCRCCS/CCR pluginsRequires plugins
Cross-cluster searchYesYesCompatible
Cross-cluster replicationYes (Platinum)CCR pluginOpen source in OpenSearch
AutoscalingYes (7.11+)Deployment-specificCloud provider dependent
Hot/Warm/Cold/FrozenData tiersHot/Warm/ColdNo frozen tier
Node-to-node encryptionYesYesCompatible
Cluster state APIYesYesCompatible
Task managementYesYesCompatible
Persistent tasksYesYesCompatible

Security features

FeatureElastic Cloud/ES 8.xLuceniaMigration notes
Authentication
Native usersYesYesDifferent implementation
LDAP/ADYesYesPlugin required
SAMLYes (Gold+)YesPlugin required
OpenID ConnectYes (Gold+)YesPlugin required
KerberosYes (Gold+)YesPlugin required
PKIYesYesCompatible
API keysYesYesDifferent format
Service tokensYes (8.5+)NoUse API keys
Authorization
Role-based accessYesYesCompatible
Document-level securityYes (Platinum)YesOpen source
Field-level securityYes (Platinum)YesOpen source
Index privilegesYesYesCompatible
Cluster privilegesYesYesCompatible
Encryption
TLS/SSLYesYesCompatible
Encryption at restCloud-managedProvider-dependentConfigure per provider
Node-to-nodeYesYesCompatible
Audit loggingYes (Gold+)YesOpen source
IP filteringYesYesCompatible
Security realmsMultiple realmsMultiple backendsDifferent configuration

Monitoring and observability

FeatureElastic Cloud/ES 8.xLuceniaMigration notes
Metrics collectionMetricbeatPerformance AnalyzerDifferent tool
Cluster monitoringStack MonitoringOpenSearch DashboardsDifferent UI
Node statsYesYesCompatible
Index statsYesYesCompatible
JVM monitoringYesYesCompatible
Thread pool statsYesYesCompatible
Circuit breakersYesYesCompatible
Slow logYesYesCompatible
Deprecation logYesYesCompatible
APM integrationElastic APMOpenTelemetryDifferent solution
TracingYesTrace AnalyticsPlugin required
AlertingWatcher/RulesAlerting pluginDifferent syntax
Anomaly detectionML (Platinum)AD pluginOpen source

Machine learning and analytics

FeatureElastic Cloud/ES 8.xLuceniaMigration notes
Anomaly detectionML (Platinum)AD pluginOpen source, different API
ForecastingYes (Platinum)LimitedBasic support only
Data Frame AnalyticsYes (Platinum)NoNo equivalent
TransformsYesRollup jobsDifferent implementation
InferenceYesML CommonsDifferent API
NLP modelsELSER, PyTorchML CommonsDifferent models
Model managementYesModel registryDifferent implementation
Vector databaseDense vectorsk-NN pluginPlugin required
Similarity searchYesYesCompatible
Learning to RankThird-partyLTR pluginNative plugin

Visualization and dashboards

FeatureElastic Cloud/ES 8.xLuceniaMigration notes
Dashboard toolKibanaOpenSearch DashboardsFork of Kibana 7.10
Visualizations20+ types15+ typesMost common available
CanvasYesNoNo equivalent
MapsElastic MapsMaps pluginDifferent features
LensYes (7.5+)NoUse legacy visualizations
TSVBYesYesCompatible
VegaYesYesCompatible
Saved objectsYesYesMay need conversion
SpacesYesTenantsDifferent concept
ReportingPDF/CSV (Gold+)Reporting pluginOpen source
Dev Tools ConsoleYesYesCompatible

API compatibility

Compatible APIs (direct migration)

The following APIs are compatible and can be directly migrated:

APIs requiring modification

APIES 8.xLuceniaChanges required
Security APIs/_security/*/_plugins/_security/*Path change
ML APIs/_ml/*/_plugins/_ml/*Path change
ILM APIs/_ilm/*/_plugins/_ism/*Different API
Watcher APIs/_watcher/*/_plugins/_alerting/*Different API
License APIs/_license/*Not applicableRemove calls
X-Pack APIs/_xpack/*Not applicableRemove or replace

Client compatibility

  • Elasticsearch 7.10.x clients: Yes
  • OpenSearch clients: Yes (recommended)
  • Elasticsearch 7.11-7.17 clients: Test thoroughly
  • Elasticsearch 8.x clients: Not compatible

Elastic Cloud-specific features

FeatureElastic CloudLucenia alternative
Deployment managementElastic Cloud ConsoleCloud provider console/Terraform
Auto-scalingBuilt-inAuto Scaling Groups (AWS native)
BackupsAutomatedS3 snapshots (configure manually)
MonitoringCloud monitoringCloudWatch + Dashboards
Traffic filteringIP allowlistsSecurity Groups (cloud native)
VPC peeringPrivate endpointsVPC Endpoints (cloud native)
SSO integrationCloud SSOCloud provider SSO + SAML
Fleet managementFleet ServerNot available (use alternative)
Elastic AgentYesNot available (use Beats/Logstash)
Integrations300+ integrationsLimited (build custom)

Data ingestion

FeatureElastic Cloud/ES 8.xLuceniaMigration notes
Elastic AgentUnified agentNot availableUse individual Beats
Beats family
FilebeatYesCompatible (7.x)Use 7.x version
MetricbeatYesCompatible (7.x)Use 7.x version
PacketbeatYesCompatible (7.x)Use 7.x version
HeartbeatYesCompatible (7.x)Use 7.x version
AuditbeatYesCompatible (7.x)Use 7.x version
WinlogbeatYesCompatible (7.x)Use 7.x version
Other tools
LogstashLatest versionOpenSearch outputUse OS output plugin
Data PrepperNot availableYesOpenSearch-specific
Kafka ConnectSink connectorSink connectorCompatible
Fluentd/Fluent BitOutput pluginOutput pluginCompatible
VectorSink availableSink availableCompatible
CloudWatchVia FunctionbeatDirect integrationAWS native
KinesisVia integrationDirect integrationAWS native

Critical incompatibilities

When migrating from Elastic Cloud/Elasticsearch 8.x to Lucenia, be aware of these critical incompatibilities:

  1. Runtime fields - Not available in OpenSearch, use scripted fields
  2. Elasticsearch 8.x security features - Different implementation in OpenSearch
  3. Canvas - No equivalent in OpenSearch Dashboards
  4. Lens - Not available, use traditional visualizations
  5. Data Frame Analytics - No direct equivalent
  6. Frozen tier - Not supported, use cold storage
  7. Service tokens - Use API keys instead
  8. Multi-terms aggregation - Use scripted aggregations

Next steps