You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Giovanni Bricconi (JIRA)" <ji...@apache.org> on 2012/05/02 16:42:55 UTC
[jira] [Created] (SOLR-3429) new GatherTransformer
Giovanni Bricconi created SOLR-3429:
---------------------------------------
Summary: new GatherTransformer
Key: SOLR-3429
URL: https://issues.apache.org/jira/browse/SOLR-3429
Project: Solr
Issue Type: New Feature
Components: contrib - DataImportHandler
Affects Versions: 4.0
Reporter: Giovanni Bricconi
Priority: Minor
This is a new transformer for dih.
I'm often asked to import a lot of fields, many of these fields are read only and sould not be searched.
I found useful to gather them in a single json field, and returning them untouched to the client.
This patch provides a transformer that collects a list of db columns an writes out a json map that contains all of them.
A regression test is included.
A new dependency for jsonic has been added to dih, (already used by langid), I can use a different library if needed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Updated] (SOLR-3429) new GatherTransformer
Posted by "Giovanni Bricconi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Giovanni Bricconi updated SOLR-3429:
------------------------------------
Attachment: SOLR-3429.patch
GatherTransformer
> new GatherTransformer
> ---------------------
>
> Key: SOLR-3429
> URL: https://issues.apache.org/jira/browse/SOLR-3429
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Affects Versions: 4.0
> Reporter: Giovanni Bricconi
> Priority: Minor
> Labels: json
> Attachments: SOLR-3429.patch
>
>
> This is a new transformer for dih.
> I'm often asked to import a lot of fields, many of these fields are read only and sould not be searched.
> I found useful to gather them in a single json field, and returning them untouched to the client.
> This patch provides a transformer that collects a list of db columns an writes out a json map that contains all of them.
> A regression test is included.
> A new dependency for jsonic has been added to dih, (already used by langid), I can use a different library if needed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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
[jira] [Resolved] (SOLR-3429) new GatherTransformer
Posted by "Giovanni Bricconi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Giovanni Bricconi resolved SOLR-3429.
-------------------------------------
Resolution: Fixed
Fix Version/s: 4.0
I propose this implementation
> new GatherTransformer
> ---------------------
>
> Key: SOLR-3429
> URL: https://issues.apache.org/jira/browse/SOLR-3429
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Affects Versions: 4.0
> Reporter: Giovanni Bricconi
> Priority: Minor
> Labels: json
> Fix For: 4.0
>
> Attachments: SOLR-3429.patch
>
>
> This is a new transformer for dih.
> I'm often asked to import a lot of fields, many of these fields are read only and sould not be searched.
> I found useful to gather them in a single json field, and returning them untouched to the client.
> This patch provides a transformer that collects a list of db columns an writes out a json map that contains all of them.
> A regression test is included.
> A new dependency for jsonic has been added to dih, (already used by langid), I can use a different library if needed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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