lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3779) LineEntityProcessor processes only one document
Date Thu, 13 Sep 2012 20:49:08 GMT

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

James Dyer updated SOLR-3779:
-----------------------------

    Attachment: SOLR-3779.patch

Here is a patch with a unit test.  I will commit this shortly as this needs to be fixed in
4.0. 
                
> 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
>
>         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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message