As I understand TimestampUpdateProcessorFactory will insert current date(now). We don't want this.
Regards, Gytis On Feb 10, 2017 19:18, "Erick Erickson" <erickerick...@gmail.com> wrote: > Would TimestampUpdateProcessorFactory work? > > Best, > Erick > > On Fri, Feb 10, 2017 at 4:59 AM, Alexandre Rafalovitch > <arafa...@gmail.com> wrote: > > Custom update request processor that looks up a file from the name and > gets > > the date should work. > > > > Regards, > > Alex > > > > On 10 Feb 2017 2:39 AM, "Gytis Mikuciunas" <gyt...@gmail.com> wrote: > > > > Hi, > > > > We have started to use solr for our documents indexing (vsd, vsdx, > > xls,xlsx, doc, docx, pdf, txt). > > > > Modified date values is needed for each file. MS Office's files, pdfs > have > > this value. > > Problem is with txt files as they don't have this value in their meta. > > > > Is there any possibility to get it somehow from os level and force adding > > it to solr when we do indexing. > > > > p.s. > > > > Windows 2012 server, single instance > > > > typical command we use: java -Dauto -Dc=index_sandbox -Dport=80 > > -Dfiletypes=vsd,vsdx,xls,xlsx,doc,docx,pdf,txt -Dbasicauth=admin:xxxx > -jar > > example/exampledocs/post.jar "M:\DNS_dump" > > > > > > Regards, > > > > Gytis >