Solr
  1. Solr
  2. SOLR-742

Unable to create dynamic fields with custom DataImportHandler transformer

    Details

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

      Description

      Discussion at: http://www.nabble.com/Creating-dynamic-fields-with-DataImportHandler-to19226532.html

      Dynamic fields aren't created when specified in a DataImportHandler's transformer.

      Reproducing the issue:
      I have defined a dynamic field (of type sdouble) in my schema called "_dynamic*". Inside the transformer's transformRow method, I am adding the name-value pair "_dynamicTest" and '1.0'. No errors are observed, but the data does not appear in the index after importing is complete.

      Interestingly, I can specify that same name-value pair combination in the DataImportHandler's config file, and it does appear in the index.

      1. SOLR-742.patch
        8 kB
        Shalin Shekhar Mangar
      2. SOLR-742.patch
        6 kB
        Noble Paul
      3. SOLR-742.patch
        10 kB
        Shalin Shekhar Mangar
      4. SOLR-742.patch
        8 kB
        Shalin Shekhar Mangar
      5. SOLR-742.patch
        3 kB
        Noble Paul
      6. SOLR-742.patch
        3 kB
        Noble Paul

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Wojtek Piaseczny
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development