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

CSV loader to support literal field values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 4.0-ALPHA
    • update
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: