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

RE: FieldCacheTermsFilter performance

2013-01-20 Thread Uwe Schindler
Hi, in Lucene 4.0 I would recommend to use TermsFilter (from queries module), not FieldCacheTermsFilter, because the term dictionary is much faster and it is in this case better to use the posting lists, instead of scanning all documents (which FCTermsCache does). How many filter terms do you h