Hi,
Who can compile me this to jar file? (I found something similar i need in
google: (
http://stackoverflow.com/questions/20745935/set-last-modified-field-when-not-defined-in-document-in-solr
))
package modifiedG4;
import java.io.IOException;
import org.apache.solr.common.SolrInputDocument;
imp
It would have to be a custom one. One you write. But I believe Tika
would pass a file name as one of the parameters, so you just need to
use standard Java API to look up the system date. That - of course -
assumes that the files you index are on the same filesystem as Solr
itself, so it could look
Alexandre, could you provide some link or give more info about this
processor?
I'm novice in the solr world;)
Regards,
Gytis
On Feb 10, 2017 14:59, "Alexandre Rafalovitch" wrote:
Custom update request processor that looks up a file from the name and gets
the date should work.
Regards,
Ale
As I understand TimestampUpdateProcessorFactory will insert current
date(now). We don't want this.
Regards,
Gytis
On Feb 10, 2017 19:18, "Erick Erickson" wrote:
> Would TimestampUpdateProcessorFactory work?
>
> Best,
> Erick
>
> On Fri, Feb 10, 2017 at 4:59 AM, Alexandre Rafalovitch
> wrote:
>
Would TimestampUpdateProcessorFactory work?
Best,
Erick
On Fri, Feb 10, 2017 at 4:59 AM, Alexandre Rafalovitch
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" wrot
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" wrote:
Hi,
We have started to use solr for our documents indexing (vsd, vsdx,
xls,xlsx, doc, docx, pdf, txt).
Modified date values is
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