Solr
  1. Solr
  2. SOLR-1547

TemplateTransformer should copy array/list more intelligently

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Labels:
      None

      Description

      if a field is copied TemplateTransformer does a toString()

      e.g

      <field column="id"           template="${slashdot.link}" />
      

      if slashdot.link is a List with a value http://somelink/ it would get copied as [ http://somelink/ ]

      1. SOLR-1547.patch
        4 kB
        Noble Paul
      2. SOLR-1547.patch
        2 kB
        Noble Paul

        Activity

        Hide
        Noble Paul added a comment -

        w/ testcase

        Show
        Noble Paul added a comment - w/ testcase
        Hide
        Noble Paul added a comment -

        committed r881766

        Show
        Noble Paul added a comment - committed r881766

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development