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 within the RequestHandler tags. Then you should be good to go.


-- 
- Mark

http://www.lucidimagination.com



Lance Norskog wrote:
> 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
>
>
>
>   



Reply via email to