On 15/09/2011 11:12, Uwe Schindler wrote:
Hi,
In your incrementToken method, you differs in both implementations:
The original one uses setTermBuffer(), but the new one only resizes the
buffer, but never changes it.
Thankyou, now working, changed to
@Override
public boolean incrementToken
> -Original Message-
> From: Paul Taylor [mailto:paul_t...@fastmail.fm]
> Sent: Thursday, September 15, 2011 11:39 AM
> To: 'java-user@lucene.apache.org'
> Subject: Converting from TermAttribute to CharTermAttribute
>
> Have updated from Lucene 3.0 to lucene 3.1 an dnow
Have updated from Lucene 3.0 to lucene 3.1 an dnow getting various
deprecations that Im trying to move
I change this filter class and now my test are failing, anybody able to
see what Im missing please
Paul
package org.musicbrainz.search.analysis;
import org.apache.lucene.analysis.TokenFilt