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

James Dyer resolved SOLR-3779.
------------------------------

    Resolution: Fixed

committed.  Thank you, Ahmet.

Trunk: r1384816
4x: r1384828
3x: r1384834
                
> LineEntityProcessor processes only one document
> -----------------------------------------------
>
>                 Key: SOLR-3779
>                 URL: https://issues.apache.org/jira/browse/SOLR-3779
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 4.0-BETA
>            Reporter: Ahmet Arslan
>            Assignee: James Dyer
>            Priority: Blocker
>             Fix For: 4.0, 3.6.2
>
>         Attachments: SOLR-3779.patch, SOLR-3779.patch
>
>
> LineEntityProcessor processes only one document when combined with 
> FileListEntityProcessor.
> {code:xml}
> <dataConfig>
> <dataSource type="FileDataSource" encoding="UTF-8" name="fds"/>
>     <document>
>        <entity name="f" processor="FileListEntityProcessor" fileName=".*txt" 
> baseDir="/Volumes/data/Documents" recursive="false" rootEntity="false" 
> dataSource="null" transformer="TemplateTransformer" >
>              <entity onError="skip" name="jc"   
> processor="LineEntityProcessor" url="${f.fileAbsolutePath}" dataSource="fds"  
> rootEntity="true" transformer="TemplateTransformer">
>                 <field column="link" 
> template="hello${f.fileAbsolutePath},${jc.rawLine}" />
>                 <field column="rawLine" name="rawLine" />
>              </entity>                  
>         </entity>
>     </document>
> </dataConfig>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to