lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: how to get modified field data if it doesn't exist in meta
Date Fri, 10 Feb 2017 17:17:46 GMT
Would TimestampUpdateProcessorFactory work?

Best,
Erick

On Fri, Feb 10, 2017 at 4:59 AM, Alexandre Rafalovitch
<arafalov@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" <gytmkc@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

Mime
View raw message