Actually, the a single timestamp field is being used by several threads. Sorry, I missed that, and thanks Peter, Uwe both for the explanations. [In my code snippet, I was trying to simplify so missed this. I'm constructing one timestamp field and passing it to all threads in the ctor.]
On Mon, Dec 19, 2011 at 5:07 AM, Uwe Schindler <u...@thetaphi.de> wrote: > Hi, > > NumericUtils is an internal implementation class, you should not use it. > What do you want to do? There is no need to call any of its methods during > indexing or searching. Everything else is advanced. I the latter case you > should RTFM of BytesRef and realted classes (possibly watch the flexible > indexing talk done by me in Berlin, Barcelona or San Francisco). Lucene > moved to binary terms in 4.0 and no longer uses character based terms, so > the code is different. BytesRef is just a wrapper around a byte[]. > > Uwe > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -----Original Message----- > > From: Peter Karich [mailto:peat...@yahoo.de] > > Sent: Monday, December 19, 2011 1:40 PM > > To: java-user@lucene.apache.org > > Subject: Re: Lucene 3.4 : shift bug in possibly invalid use of > > NumericTokenStream > > > > BTW: how can I use NumericUtils.longToPrefixCoded in 4.0 ? > > > > Peter. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >