lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A. Lotfi" <>
Subject BufferedTokenStream @Deprecated
Date Wed, 24 Apr 2013 14:48:23 GMT

I was told to migrate an old Lucene project from version :
2.9.1 to  4.2.1

As soon as I changed the jars, I got lot of errors , one of them :
The import org.apache.solr.analysis.BufferedTokenStream cannot be resolved

for this line :
import org.apache.solr.analysis.BufferedTokenStream;

in the new API it said :

@Deprecated public abstract class BufferedTokenStream extends TokenFilter

BufferedTokenStream used to have a method called read().

Can you please help me on how to fix this problem ?
Thanks, your help is appreciated. 

The nature of promises is that they remain immune to changing circumstances.
Frank Underwood, ‘House of Cards’
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message