lucene-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/SOLR-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Erik Hatcher updated SOLR-1032:
-------------------------------

    Attachment: SOLR-1032.patch

Attached is a patch adding a test case and switching to use the Solr Cell established convention
of _literal.field_name=value_ parameter naming.

> CSV loader to support literal field values
> ------------------------------------------
>
>                 Key: SOLR-1032
>                 URL: https://issues.apache.org/jira/browse/SOLR-1032
>             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: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message