openrewrite / openrewrite/rewrite-spring

2.4-2.5: Spring Data Solr

Open
#136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

boot-2.5 enhancement
Dominant language
Java
Stars
403
Forks
149
Avg merge
2h 33m
Merged PRs (30d)
10

Description

ReleaseNotes
Following its removal from Spring Data in 2021.0.0, auto-configuration for Spring Data Solr has been removed in this release.

Condition

Dependency to org.springframework.data:spring-data-solr exists

Description

The recipe fond a dependency to org.springframework.data:spring-data-solr.
Auto-configuration for Spring Data Solr has been removed in Spring Boot 2.5 release.
If the application relies on auto-configuration for Solr you need to provide configuration for Solr.
You have two options:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Spring Boot 2.5 release notes and the Spring Data Solr annotation-based configuration guidance. Use the stated dependency condition as the detection scope, and consider the work complete when applications using org.springframework.data:spring-data-solr receive guidance about the removed auto-configuration and the documented configuration options.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
backend, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.