Re: ClassCastException: o.a.l.d.Field cannot be cast to o.a.l.d.StoredField

2018-04-26 Thread David Smiley
affect > UpdateLog replay? > > We removed the cast, no idea how it got there. > > Thanks, > Markus > > -Original message- > > From:David Smiley <david.w.smi...@gmail.com> > > Sent: Thursday 26th April 2018 16:31 > > To: solr-user@lucene.apache.org

RE: ClassCastException: o.a.l.d.Field cannot be cast to o.a.l.d.StoredField

2018-04-26 Thread Markus Jelsma
; To: solr-user@lucene.apache.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

Re: ClassCastException: o.a.l.d.Field cannot be cast to o.a.l.d.StoredField

2018-04-26 Thread David Smiley
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