lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gytis Mikuciunas <gyt...@gmail.com>
Subject Re: how to get modified field data if it doesn't exist in meta
Date Sun, 12 Feb 2017 18:25:21 GMT
As I understand TimestampUpdateProcessorFactory will insert current
date(now). We don't want this.

Regards,
Gytis

On Feb 10, 2017 19:18, "Erick Erickson" <erickerickson@gmail.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message