Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cassandra 5.0 confusion #30

Open
SetoKaiba opened this issue Sep 3, 2024 · 1 comment
Open

Cassandra 5.0 confusion #30

SetoKaiba opened this issue Sep 3, 2024 · 1 comment

Comments

@SetoKaiba
Copy link

For applications requiring advanced indexing features, such as full-text search or geospatial queries, users can consider external integrations, such as OpenSearch®, that offer numerous full-text search and advanced analysis features.

This plugin will not upgrade for 5.0. I have some confusion. How does it integrate OpenSearch? Thank you. I didn't find Cassandra integration for OpenSearch.

@mo-ansari99
Copy link

Hey @SetoKaiba

In the absence of support for the Cassandra Lucene Index in Cassandra 5.0, OpenSearch is a viable alternative for advanced search capabilities like full-text search and geospatial support. You can find more details on OpenSearch's full-text search capabilities here.

Integration of Cassandra with OpenSearch
Although there isn't a direct plugin for integrating Cassandra with OpenSearch, you can achieve this integration through a data pipeline tool or a custom ETL process. Here are some common approaches:

  • Data Pipeline Tools

Apache Kafka:
Use Kafka to capture changes in Cassandra and index the relevant data into OpenSearch.

  • Change Data Capture (CDC)

Cassandra CDC:
Utilize Cassandra's Change Data Capture (CDC) feature to capture data changes.
Implement a CDC consumer that processes these changes and indexes them into OpenSearch.

  • Custom Application Logic

Modify your application logic to write data to Cassandra and OpenSearch simultaneously, ensuring both data stores are in sync.

Understandably, these approaches are more complex than using the Cassandra Lucene Index. However, Storage-Attached Indexing (SAI) in Cassandra 5.0 brings significant search capabilities, and there are more capabilities planned with subsequent phase releases of SAI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants