Solr
  1. Solr
  2. SOLR-1234

Multiple DIH does not work because all of them write to dataimport.properties

    Details

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

      Description

      DIH always writes the details to <conf-dir>/dataimport.properties. This is a problem if multiple DIH entries need to be used. The simplest solution would be to write to a file name that is same as the handler name (this is unique anyway)

      1. SOLR-1234.patch
        0.6 kB
        Noble Paul
      2. SOLR-1234.patch
        4 kB
        Noble Paul

        Activity

        Hide
        Noble Paul added a comment -

        committed r787205

        Show
        Noble Paul added a comment - committed r787205
        Hide
        Erik Hatcher added a comment -

        The patch applied does not handle request handler mappings with multiple slashes properly.

        Show
        Erik Hatcher added a comment - The patch applied does not handle request handler mappings with multiple slashes properly.
        Hide
        Noble Paul added a comment -

        how would those multiple slashes look like ? name="/dataimport/d1" ?

        I never knew it existed.

        Show
        Noble Paul added a comment - how would those multiple slashes look like ? name="/dataimport/d1" ? I never knew it existed.
        Hide
        Noble Paul added a comment -

        removes first slash and replaces all other slashes w/ underscores

        Show
        Noble Paul added a comment - removes first slash and replaces all other slashes w/ underscores
        Hide
        Noble Paul added a comment -

        committed r788580

        Show
        Noble Paul added a comment - committed r788580
        Hide
        Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        Grant Ingersoll added a comment - Bulk close for Solr 1.4

          People

          • Assignee:
            Noble Paul
            Reporter:
            Noble Paul
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development