Solr
  1. Solr
  2. SOLR-465

Add configurable DirectoryProvider so that alternate Directory implementations can be specified via solrconfig.xml

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      Solr is presently hard-coded to use the FSDirectory implementation in Lucene. Other Directory implementations are possible. This patch creates a new DirectoryProvider interface and extends SolrCore to load an implementation of it from solrconfig.xml (if specified). If not specified, then it will fallback to the FSDirectory.

      A DirectoryProvider plugin can be configured in solrconfig.xml with the following XML:
      <directoryProvider class="class.name">
      <!-- Parameters as required by the implementation -->
      </directoryProvider>

      This patch was created against solr trunk checked out on 11/20/2007. Most of it is new code and should apply cleanly or with minor relocation. If it does not, let me know and I will update.

      1. SOLR-465.patch
        0.7 kB
        Mark Miller
      2. SOLR-465.patch
        2 kB
        Mark Miller
      3. SOLR-465.patch
        1 kB
        Mark Miller
      4. SOLR-465.patch
        0.8 kB
        Mark Miller
      5. SOLR-465.patch
        30 kB
        Mark Miller
      6. SOLR-465.patch
        31 kB
        Mark Miller
      7. SOLR-465-fixes.patch
        2 kB
        Andrey Klochkov
      8. solr-directory-provider.patch
        13 kB
        TJ Laurenzo

        Issue Links

          Activity

          TJ Laurenzo created issue -
          TJ Laurenzo made changes -
          Field Original Value New Value
          Attachment solr-directory-provider.patch [ 12373836 ]
          Hoss Man made changes -
          Link This issue relates to SOLR-243 [ SOLR-243 ]
          Hoss Man made changes -
          Link This issue is duplicated by SOLR-480 [ SOLR-480 ]
          Mark Miller made changes -
          Attachment SOLR-465.patch [ 12388994 ]
          Otis Gospodnetic made changes -
          Fix Version/s 1.4 [ 12313351 ]
          Mark Miller made changes -
          Attachment SOLR-465.patch [ 12392787 ]
          Yonik Seeley made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Yonik Seeley made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Mark Miller made changes -
          Attachment SOLR-465.patch [ 12394982 ]
          Yonik Seeley made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Andrey Klochkov made changes -
          Attachment SOLR-465-fixes.patch [ 12402651 ]
          Hoss Man made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Yonik Seeley [ yseeley@gmail.com ]
          Mark Miller made changes -
          Attachment SOLR-465.patch [ 12406639 ]
          Mark Miller made changes -
          Attachment SOLR-465.patch [ 12406670 ]
          Yonik Seeley made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Mark Miller made changes -
          Attachment SOLR-465.patch [ 12406717 ]
          Grant Ingersoll made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Yonik Seeley
              Reporter:
              TJ Laurenzo
            • Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development