Re: TextField constructors

2013-01-20 Thread Michael McCandless
On Sun, Jan 20, 2013 at 2:04 PM, Adam Rauch wrote: > The FieldType section of the 4.0 migration guide > (http://lucene.apache.org/core/4_0_0/MIGRATE.html) states: > > If you did this before (value can be String or Reader): > > new Field("field", value, Field.Store.NO, Field.Indexed.ANALYZED) > > y

TextField constructors

2013-01-20 Thread Adam Rauch
The FieldType section of the 4.0 migration guide (http://lucene.apache.org/core/4_0_0/MIGRATE.html) states: If you did this before (value can be String or Reader): new Field("field", value, Field.Store.NO, Field.Indexed.ANALYZED) you can now do this: new TextField("field", value) But 4.0 ha