It depends on which version of Lucene you are using. With Lucene 4, TermAttribute has been replaced with CharTermAttribute. I believe TermAttribute was simply deprecated in Lucene 3.
Cheers, Ivan On Mon, Jun 24, 2013 at 11:32 PM, 雨与泪 <[email protected]> wrote: > I can't find the Class of TermAttriubte,which has the way of term.so I > can't do it work.how to set encoder to the class(termAttribute)
