Skip to content

CCOR-12529 Create dynamic lucene dependency selection based on index engine #527

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

Merged
merged 3 commits into from
Jun 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Check-out the [Conductor OSS docs](https://github.com/conductor-oss/conductor/tr
# Database Specifications
* The default persistence used is Redis
* The indexing backend is [Elasticsearch](https://www.elastic.co/) (7.x)
* To use [Opensearch](https://opensearch.org/) (2.x), comment out Elasticsearch import so lucene dependencies don't conflict [server/build.gradle](https://github.com/conductor-oss/conductor/blob/main/server/build.gradle#L44-L46)


### Configuration for various database backends
Expand Down
1 change: 0 additions & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,5 @@ ext {
revNats = '2.16.14'
revStan = '2.2.3'
revFlyway = '10.15.2'
revApacheLucene = '10.2.1'
revConductorClient = '4.0.10'
}
2 changes: 1 addition & 1 deletion es7-persistence/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies {

implementation "com.fasterxml.jackson.core:jackson-databind"
implementation "com.fasterxml.jackson.core:jackson-core"

implementation "org.elasticsearch.client:elasticsearch-rest-client:${revElasticSearch7}"
implementation "org.elasticsearch.client:elasticsearch-rest-high-level-client:${revElasticSearch7}"

Expand Down
1 change: 0 additions & 1 deletion server-lite/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ dependencies {
implementation 'org.apache.logging.log4j:log4j-web'
implementation "redis.clients:jedis:${revJedis}"
implementation "org.postgresql:postgresql:${revPostgres}"
implementation "org.apache.lucene:lucene-core:${revApacheLucene}"

implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation ("io.orkes.queues:orkes-conductor-queues:${revOrkesQueues}") {
Expand Down
4 changes: 2 additions & 2 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ dependencies {
implementation project(':conductor-sqlite-persistence')

//Indexing (note: Elasticsearch 6 is deprecated)
implementation project(':conductor-os-persistence')
implementation project(':conductor-es7-persistence')

// To use Opensearch, comment out above Elasticsearch, uncomment below Opensearch, and rebuild conductor
// implementation project(':conductor-os-persistence')

implementation project(':conductor-redis-lock')
implementation project(':conductor-redis-concurrency-limit')
Expand Down
Loading