java-user@lucene.apache.org
[Top] [All Lists]

deprecated method Token class constructor

Subject: deprecated method Token class constructor
From: "장용석"
Date: Tue, 11 Nov 2008 14:15:30 +0900
hi :)
first, i'm sorry for my bad English..

I have a question.
In lucene 2.4.0 , Token class constructor  public Token(String text, int
start, int end, int flags) is deprecated.
I want to know why.... and
What constructor is the substitution for this deprecated constructor?

May I use like this?
Token token = new Token(String.toCharArray(), 1,1,"word");


Thanks. :)
-- 
DEV용식
http://devyongsik.tistory.com
<Prev in Thread] Current Thread [Next in Thread>
  • deprecated method Token class constructor, 장용석 <=