Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1032

CSV loader to support literal field values

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 4.0-ALPHA
    • Component/s: update
    • Labels:
      None

      Description

      It would be very handy if the CSV loader could handle a literal field mapping, like the extracting request handler does. For example, in a scenario where you have multiple datasources (some data from a DB, some from file crawls, and some from CSV) it is nice to add a field to every document that specifies the data source. This is easily done with DIH with a template transformer, and Solr Cell with ext.literal.datasource=, but impossible currently with CSV.

        Attachments

        1. SOLR-1032.patch
          4 kB
          Erik Hatcher
        2. SOLR-1032.patch
          3 kB
          Simon Rosenthal

          Activity

            People

            • Assignee:
              ehatcher Erik Hatcher
              Reporter:
              ehatcher Erik Hatcher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: