Thanks for your reply...my data-config.xml is----------------
<dataConfig>
          <dataSource type="BinFileDataSource" name="bin"/>
         <document>
                <entity name="f" pk="id" processor="FileListEntityProcessor"
recursive="true" 
rootEntity="false" 
 dataSource="null"  baseDir="/var/data/solr" 
fileName=".*\.(DOC)|(PDF)|(XML)|(xml)|(JPEG)|(jpg)|(ZIP)|(zip)|(pdf)|(doc)"
onError="skip" 

>

            <entity name="tika-test" processor="TikaEntityProcessor" 
url="${f.fileAbsolutePath}" format="text" dataSource="bin" onError="skip"> 
                <field column="Author" name="author" meta="true"/> 
                <field column="title" name="title" meta="true"/> 
                <field column="text" name="text"/> 
        <field column="id" name="id"/>
</entity> 
        <field column="file" name="fileName"/>
<field column="fileAbsolutePath" name="links"/>
        </entity>
        </document>
</dataConfig>

--
View this message in context: 
http://lucene.472066.n3.nabble.com/delta-import-of-rich-documents-like-word-and-pdf-files-tp3502039p3506404.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to