And you cannot update-in-place. That is, you can't update just selected fields in a document, you have to re-index the whole document.
Best Erick On Mon, Nov 14, 2011 at 6:11 AM, Ahmet Arslan <iori...@yahoo.com> wrote: > >> 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 > > >