Looks like it works. No crashes and the logs states it was added. I
didn't test against acutal data, though.
04.02.2010 17:14:13
org.apache.solr.handler.extraction.ExtractingRequestHandler inform
INFO: Adding Date Format: -MM-dd HH:mm:ss
04.02.2010 17:14:13
org.apache.solr.handler.extraction.E
Good job Mark, works fine and does not keep my files open.
Thanks,
Chris
Am 03.02.2010 15:24, schrieb Mark Miller:
> Hey Christoph,
>
> Could you give the patch at
> https://issues.apache.org/jira/browse/SOLR-1744 a try and let me know
> how it works out for you?
Cool, this way it's no longer crashing.
Thanks and Regards,
Chris
Am 04.02.2010 14:29, schrieb Mark Miller:
> Before you file a JIRA issue:
>
> I don't believe this is a bug, so there is likely no need for JIRA. Try
> putting the date.formats snipped in the defaults section rather than
> simply
Hi list,
I'm using the ExtractingRequestHandler to extract content from
documents. It's extracting the "last_modified" field quite fine, but of
course only for documents where this field is set. If this field is not
set I want to pass the file system timestamp of the file.
I'm doing:
final Conte
lose the stream it gets?
>From 08b158c28ebee618ac65defe731cbbc4954977b2 Mon Sep 17 00:00:00 2001
From: Christoph Brill
Date: Tue, 2 Feb 2010 13:39:26 +0100
Subject: [PATCH] [Bugfix] Close streams after sending them
---
.../client/solrj/impl/CommonsHttpSolrServer.java |9 +
1 files ch
();
}
}
This isn't exactly beauty code but at least it works this way. Would be
great if someone would come up with a better idea for solrj 1.5
Regards,
Chris
Am 02.02.2010 13:27, schrieb Christoph Brill:
> Hi list,
>
> I'm using ContentStreamUpdateRequest.addFile(File)
Hi list,
I'm using ContentStreamUpdateRequest.addFile(File) to index a bunch of
documents. This works fine unless the stream created in addFile doesn't
seem to get closed. This causes issues because my process has to many
open files.
It's a bug, right?
Regards,
Chris
Hi list,
I tried to add the following to my solrconfig.xml (to the
'
-MM-dd
which is described on the wiki page of the ExtractingRequestHandler[1].
After doing so I always get a ClassCastException once the lazy init of
the handler is happening. This is a stock solr 1.4 with no
modifica