[
https://issues.apache.org/jira/browse/SOLR-3779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610853#comment-13610853
]
Commit Tag Bot commented on SOLR-3779:
--------------------------------------
[branch_4x commit] James Dyer
http://svn.apache.org/viewvc?view=revision&revision=1384828
SOLR-3779/SOLR-3791: fix for DIH LineEntityProcessor & CachedSqlEntityProdessor
> 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: [email protected]
For additional commands, e-mail: [email protected]