lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <>
Subject [jira] [Commented] (SOLR-1032) CSV loader to support literal field values
Date Tue, 02 Aug 2011 13:59:27 GMT


Erik Hatcher commented on SOLR-1032:

Simon - thanks for the effort on this!  I have taken a look and updated the patch with a test
case and a change to use _literal.field_name=value_ convention.  I think for the sake of this
feature, it's best to stick with the established Solr Cell convention.  Perhaps in another
issue we can take up refactoring parameter naming for this capability.

Thoughts?  Objections?   I'll commit this to trunk once I hear Simon's signoff.

> CSV loader to support literal field values
> ------------------------------------------
>                 Key: SOLR-1032
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>    Affects Versions: 1.3
>            Reporter: Erik Hatcher
>            Priority: Minor
>         Attachments: SOLR-1032.patch, SOLR-1032.patch
> 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.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message