lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "장용석" <need4...@gmail.com>
Subject deprecated method Token class constructor
Date Tue, 11 Nov 2008 05:15:30 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message