lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmet Arslan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-3779) LineEntityProcessor processes only one document
Date Fri, 31 Aug 2012 19:17:08 GMT
Ahmet Arslan created SOLR-3779:
----------------------------------

             Summary: 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
             Fix For: 4.0


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