Please file a bug for this in the JIRA:

http://issues.apache.org/jira/browse/SOLR

Please add all details.

Thanks!

---------- Forwarded message ----------
From: Christoph Brill <christoph.br...@chamaeleon.de>
Date: Tue, Feb 2, 2010 at 4:11 AM
Subject: ClassCastException setting date.formats in ExtractingRequestHandler
To: solr-user@lucene.apache.org


Hi list,

I tried to add the following to my solrconfig.xml (to the
'<requestHandler name="/update/extract" ...' block)

 <lst name="date.formats">
   <str>yyyy-MM-dd</str>
 </lst>

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
modifications. The exception is like this:

org.apache.solr.common.util.NamedList$1$1 cannot be cast to java.lang.String

Is this a known bug? Or a I doing something wrong?

Thanks in advance,
 Chris

[1] http://wiki.apache.org/solr/ExtractingRequestHandler#Configuration



-- 
Lance Norskog
goks...@gmail.com

Reply via email to