Solr
  1. Solr
  2. SOLR-4124

You should be able to set the update log directory with the CoreAdmin API the same way as the data directory.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1, 6.0
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Mark Miller added a comment -

      First cut at a patch.

      Show
      Mark Miller added a comment - First cut at a patch.
      Hide
      Commit Tag Bot added a comment -

      [trunk commit] Mark Robert Miller
      http://svn.apache.org/viewvc?view=revision&revision=1419720

      SOLR-4124: You should be able to set the update log directory with the CoreAdmin API the same way as the data directory.

      Show
      Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1419720 SOLR-4124 : You should be able to set the update log directory with the CoreAdmin API the same way as the data directory.
      Hide
      Mark Miller added a comment -

      I've added a test and committed.

      Show
      Mark Miller added a comment - I've added a test and committed.
      Hide
      Commit Tag Bot added a comment -

      [branch_4x commit] Mark Robert Miller
      http://svn.apache.org/viewvc?view=revision&revision=1419724

      SOLR-4124: You should be able to set the update log directory with the CoreAdmin API the same way as the data directory.

      Show
      Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1419724 SOLR-4124 : You should be able to set the update log directory with the CoreAdmin API the same way as the data directory.
      Hide
      Shalin Shekhar Mangar added a comment -

      TestCoreAdmin uses org.apache.derby.iapi.services.io.FileUtil which is not present directly in solrj-test dependencies. It is present in example-DIH/solr/db/lib/derby-10.9.1.0.jar though.

      Although the build/test via ant works but IntelliJ complains about the missing dependency and I was wondering if this was a mistake.

      Show
      Shalin Shekhar Mangar added a comment - TestCoreAdmin uses org.apache.derby.iapi.services.io.FileUtil which is not present directly in solrj-test dependencies. It is present in example-DIH/solr/db/lib/derby-10.9.1.0.jar though. Although the build/test via ant works but IntelliJ complains about the missing dependency and I was wondering if this was a mistake.
      Hide
      Mark Miller added a comment -

      Yeah, just using dir copy - meant to get the apache commons one I'm sure. Thanks!

      Show
      Mark Miller added a comment - Yeah, just using dir copy - meant to get the apache commons one I'm sure. Thanks!
      Hide
      Commit Tag Bot added a comment -

      [trunk commit] Mark Robert Miller
      http://svn.apache.org/viewvc?view=revision&revision=1420248

      SOLR-4124: change copyDirectory call to apache util

      Show
      Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1420248 SOLR-4124 : change copyDirectory call to apache util
      Hide
      Commit Tag Bot added a comment -

      [branch_4x commit] Mark Robert Miller
      http://svn.apache.org/viewvc?view=revision&revision=1420257

      SOLR-4124: change copyDirectory call to apache util

      Show
      Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1420257 SOLR-4124 : change copyDirectory call to apache util
      Hide
      Mark Miller added a comment -

      This needs persistence support.

      Show
      Mark Miller added a comment - This needs persistence support.
      Hide
      Commit Tag Bot added a comment -

      [trunk commit] Mark Robert Miller
      http://svn.apache.org/viewvc?view=revision&revision=1427213

      SOLR-4124: persistence support

      Show
      Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1427213 SOLR-4124 : persistence support
      Hide
      Commit Tag Bot added a comment -

      [branch_4x commit] Mark Robert Miller
      http://svn.apache.org/viewvc?view=revision&revision=1427214

      SOLR-4124: persistence support

      Show
      Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1427214 SOLR-4124 : persistence support

        People

        • Assignee:
          Mark Miller
          Reporter:
          Mark Miller
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development