lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fergus McMenemie (JIRA)" <>
Subject [jira] Updated: (SOLR-1033) DIH transformers cannot reuse output from previous transformations
Date Tue, 24 Feb 2009 09:12:02 GMT


Fergus McMenemie updated SOLR-1033:

    Attachment: SOLR-1033.patch

Hmmm, some  thoughts and an enhanced patch for your consideration.

Surely the test cases should still be revised to test the new functionality.

Also as the XPathEntityProcessor has been revised, I felt this might be the best time to sort
some formating typo's within the error messages.

> DIH transformers cannot reuse output from previous transformations
> ------------------------------------------------------------------
>                 Key: SOLR-1033
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>         Environment: All operating systems and software platforms
>            Reporter: Fergus McMenemie
>             Fix For: 1.4
>         Attachments: SOLR-1033.patch, SOLR-1033.patch, SOLR-1033.patch
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> It can be very useful to reuse the output from a DIH template in other templates and
or regex transformers. Currently this cannot be done. The resolver is initialized at the start
of the transformer run with what ever values exist for a column name at that instant. As the
transformer executes it may define new values for column names. My change is intended to update
the hash used by the resolver after each successful transformation.
> This only applies to the template and regex transformers.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message