Uploaded image for project: 'Spring Data for Apache Solr'
  1. Spring Data for Apache Solr
  2. DATASOLR-450

Configurable Core Support in spring-data-solr 3.1.0 M1

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1 M1 (Lovelace)
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:
      None

      Description

      I am setting up a new project which talks to Solr and would like to use the most recent versions of spring/spring-data-solr.

      I noticed that the multicoreSupport which was there in 3.0 still was removed (https://jira.spring.io/browse/DATASOLR-364).

      I need to make the solr core configurable via Properties: Is there any way to do this? With spring-data-solr 2.1.6 I used to do it like this:

      @Bean
      @Autowired
      public SolrTemplate solrTemplate(final SolrClientFactory solrClientFactory) {
      	return new SolrTemplate(solrClientFactory, solrCore);
      }
      

      This second parameter for SolrTemplate is not there any more.

      Is there still a way to configure the core name with properties?

      Thanks.

        Attachments

          Activity

            People

            • Assignee:
              cstrobl Christoph Strobl
              Reporter:
              paulwellnerbou Paul Wellner Bou
              Last updater:
              Paul Wellner Bou
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: