Re: Conversion from Lucene 1.4.3 API to 2.2.0 API.

2007-12-07 Thread ts01
(String name, String value, Reader >> reader) { >> Field aField = Text(name, value); >> aField.readerValue = reader; >> return aField; >> } >> >> Thanks >> > > > --------------------- &

Re: Conversion from Lucene 1.4.3 API to 2.2.0 API.

2007-12-07 Thread Matthijs Bierman
Hi, I would recommend downloading the 1.9.0 release for porting your code. It will show you what's deprecated and the javadoc will show you the proper way to do it. What you would want with your field is: /** Constructs a String-valued Field that is tokenized and indexed, and is stored in

Conversion from Lucene 1.4.3 API to 2.2.0 API.

2007-12-06 Thread ts01
final Field Text(String name, String value, Reader reader) { Field aField = Text(name, value); aField.readerValue = reader; return aField; } Thanks -- View this message in context: http://www.nabble.com/Conversion-from-Lucene-1.4.3-API-to-2.2.0-API.-tf4958346.html#a14200220 Sent