Skip to content

Commit

Permalink
re-add annotation in SolrIndexer
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lagrimas committed Apr 13, 2023
1 parent 9cc2698 commit bbb439e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
Expand All @@ -27,6 +28,7 @@
@SpringBootApplication
@EnableNeo4jRepositories(basePackages = "uk.ac.ebi.spot.repository")
@EnableSolrRepositories(basePackages = "uk.ac.ebi.spot.index", basePackageClasses = {Document.class})
@EnableAutoConfiguration
@EnableConfigurationProperties
@ComponentScan({"uk.ac.ebi"})
public class SolrIndexer implements CommandLineRunner {
Expand Down

0 comments on commit bbb439e

Please sign in to comment.