Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.2 (Kay SR2)
    • Component/s: None
    • Labels:
      None
    • Environment:
      Solr 6.6
    • Sprint:
      Lovelace M2 / M3

      Description

      Hi, I am still new to Spring Solr, but I maybe found some inconsistency in *SolrTemplate*.

      Commit methods send collection name but rollback method doesn't. I checked last versions and it changed a lot in last releases so I am not sure but my Solr 6.6 needs collection name for rollback.

      @Override
      	public void commit(String collection) {
      		execute(solrClient -> solrClient.commit(collection));
      	}
      
      	@Override
      	public void softCommit(String collection) {
      
      		execute(solrClient -> solrClient.commit(collection, true, true, true));
      	}
      
      	@Override
      	public void rollback(String collection) {
      		execute(SolrClient::rollback);
      	}
      

        Attachments

          Activity

            People

            Assignee:
            cstrobl Christoph Strobl
            Reporter:
            dvoraka Alen Dvorak
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: