; We removed the cast, no idea how it got there.
>
> Thanks,
> Markus
>
> -Original message-
> > From:David Smiley
> > Sent: Thursday 26th April 2018 16:31
> > To: solr-user@lucene.apache.org
> > Subject: Re: ClassCastException: o.a.l.d.Field cannot
pache.org
> Subject: Re: ClassCastException: o.a.l.d.Field cannot be cast to
> o.a.l.d.StoredField
>
> I'm not sure but I wonder why you would want to cast it in the first
> place. Field is the base class; all it's subclasses are in one way or
> another utilities/convenien
I'm not sure but I wonder why you would want to cast it in the first
place. Field is the base class; all it's subclasses are in one way or
another utilities/conveniences. In other words, if you ever see code
casting Field to some subclass, there's a good chance it's fundamentally
wrong or making
Hello,
We have a DocumentTransformer that gets a Field from the SolrDocument and casts
it to StoredField (although aparently we don't need to cast). This works well
in tests and fine in production, except for some curious, unknown and
unreproducible, cases, throwing the ClassCastException.
I c