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

I can't disable spring-content-elasticsearch when I only needs spring-data-elasticsearch #235

Closed
lmtoo opened this issue May 29, 2020 · 1 comment

Comments

@lmtoo
Copy link

lmtoo commented May 29, 2020

please provide @ConditionalOnProperty(prefix = "spring.content.elasticsearch", name = ["enabled"], havingValue = "true", matchIfMissing = false) on internal.org.springframework.content.elasticsearch.boot.autoconfigure.ElasticsearchAutoConfiguration,
When I plan to implementation FullText by myself , I found ElasticsearchAutoConfiguration well auto config when spring-content-elasticsearch is not on classpath, and this will case java.io.FileNotFoundException: class path resource [internal/org/springframework/content/elasticsearch/ElasticsearchConfig.class] cannot be opened because it does not exist

paulcwarren added a commit that referenced this issue May 30, 2020
@paulcwarren
Copy link
Owner

Fixed with 0ff1878

paulcwarren added a commit that referenced this issue Oct 27, 2021
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