Fixed
Details
Assignee
Yoann RodièreYoann RodièreReporter
Gustavo FernandesGustavo FernandesComponents
Fix versions
Priority
Minor
Details
Details
Assignee
Yoann Rodière
Yoann RodièreReporter
Gustavo Fernandes
Gustavo FernandesComponents
Fix versions
Priority
Created December 16, 2016 at 1:26 PM
Updated January 22, 2017 at 1:08 AM
Resolved January 17, 2017 at 12:10 AM
I have a test where I am not using the Elasticsearch index manager, but I do have it in the classpath.
This causes some Services from the elasticsearch backend to be loaded, namely
ElasticsearchNestingContextFactoryProvider
which will cause my indexmanager (which is not elasticsearch) to be eagerly initialized.This happens in the method
isMappedToElasticsearch
.This is not desirable since I have multiple shards and each shard consumes extra resources.