> 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>

According to wiki : "the only EntityProcessor which supports delta is 
SqlEntityProcessor."

May be you can use newerThan parameter of FileListEntityProcessor. Issuing a 
full-import with &clean=false may mimic delta import. 

You can pass value of this newerThan parameter in your request.

command=full-import&clean=false&myLastModifiedParam=NOW-3DAYS

http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters


Reply via email to