RE: cloning a NumericTermAttributeImpl

2015-01-10 Thread Uwe Schindler
Hi, NumericTokenStream is an internal class to implement NumericField. It is only public for historical reasons (was used by Solr) and because it is in another package. The Attributes it uses do not implement clone, because they have some internal state. Cloning is also not needed, because in "

RE: cloning a NumericTermAttributeImpl

2015-01-10 Thread Uwe Schindler
://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Uwe Schindler [mailto:u...@thetaphi.de] > Sent: Saturday, January 10, 2015 1:24 PM > To: java-user@lucene.apache.org > Subject: RE: cloning a NumericTermAttributeImpl > > Hi, > > NumericTokenStr