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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to