You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/08/29 18:41:00 UTC
[jira] [Resolved] (SOLR-3189) Removing a field using
TemplateTransformer
[ https://issues.apache.org/jira/browse/SOLR-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexandre Rafalovitch resolved SOLR-3189.
-----------------------------------------
Resolution: Won't Fix
> Removing a field using TemplateTransformer
> ------------------------------------------
>
> Key: SOLR-3189
> URL: https://issues.apache.org/jira/browse/SOLR-3189
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Reporter: Luca Cavanna
> Priority: Minor
> Attachments: SOLR-3189.patch
>
>
> While importing documents through DataImportHandler I need to remove some fields from the final SolrDocument before it's submitted to Solr.
> My usecase: the import query returns an A column which I use to fill in the B field on the Solr instance. My Solr schema contains both the A and B fields, so they are both filled in through dih. I'd like to force the deletion of A from the generated SolrDocument since I need a value only on the B field and want to leave empty the A field. The only way I found is using ScriptTransformer, so I thought it could be useful to add this feature to the TemplateTransformer.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org