Compatibility guide

Updated at:

Lindorm search engine is compatible with open-source Elasticsearch and OpenSearch clients, ecosystem components, and plugins. Use this guide to identify supported version combinations.

Client compatibility

Lindorm search engine supports both Elasticsearch and OpenSearch clients. The following table lists recommended versions:

Java client

Client type

Recommended version

Version range

Compatibility

Elasticsearch High Level REST Client

7.10.x

7.x (7.0.x to 7.17.x)

Compatible

Elasticsearch Low Level REST Client

OpenSearch Java Client

2.7

2.x (2.0.x to 2.26.x)

Compatible

For detailed Java client access guides and code examples, see Connect to the search engine using the Java API.

Python client

Client type

Recommended version

Version range

Compatibility

Elasticsearch Python Client

7.10.x

7.0.0 to 7.13.4

Compatible

Later than 7.13.4 to 7.17.x

You must submit a ticket to contact technical support for whitelist configuration.

OpenSearch Python Client

2.7

All 2.x versions

Compatible

Ecosystem component compatibility

Kibana

We recommend using the built-in OpenSearch Dashboards, which provides basic features such as visual queries and a development console. To connect a self-deployed Kibana instead, see the following compatibility information:

Kibana version type

Compatibility

Recommended version

Kibana-oss

Compatible

7.10.2

Non-oss version

Not compatible

Version checks prevent direct connection to the Lindorm search engine.

Logstash and Filebeat

Logstash and Filebeat share the same compatibility rules.

Version range

Compatibility

Recommended version

7.x versions 7.13.4 and earlier

Compatible

7.10.2

7.x versions later than 7.13.4

You must submit a ticket to contact technical support for whitelist configuration.

-

8.x

-

Server-side configuration

Enable automatic index creation so that indexes are created automatically when data is written through Filebeat or Logstash. You can also configure index templates to apply consistent configurations (such as mapping definitions and shard counts) to newly created indexes.

Run the following request in the OpenSearch Dashboards development console or by using curl:

PUT _cluster/settings
{
  "persistent": {
    "action.auto_create_index": "true"
  }
}

After the configuration is complete, run the following request to verify it:

GET _cluster/settings

If the value of persistent.action.auto_create_index in the response is "true", the configuration is successful.

Client-side configuration

Disable automatic template creation and Index Lifecycle Management (ILM) in the Filebeat or Logstash task configurations.

Filebeat configuration example:

setup.template.enabled: false
setup.ilm.enabled: false

Logstash configuration example:

output {
  elasticsearch {
    hosts => ["http://<Lindorm search engine connection address>"]
    ...
    manage_template => false
    ilm_enabled => false
  }
}

Plugin compatibility

Custom plugin requirements

Lindorm search engine supports custom plugins with the following requirements:

  • Plugin class inheritance: The plugin class must inherit from org.opensearch.plugins.Plugin. Plugins developed based on the Elasticsearch Plugin system are not supported.

  • Version consistency: The opensearch.version field in the plugin descriptor file (plugin-descriptor.properties) must be set to 2.7.0.

Built-in tokenizer plugins

The following commonly used tokenizer plugins are built into Lindorm search engine and require no additional installation:

Plugin name

Description

search-analisys-pinyin

Pinyin tokenizer

analysis-ik

IK tokenizer

analysis-icu

ICU tokenizer

analysis-smartcn

SmartCN tokenizer

jieba

jieba tokenizer

Note

If you encounter any compatibility issues or have questions, contact Lindorm technical support (DingTalk ID: s0s3eg3).

Vector search connection guide

For vector search code examples, see the following links: