lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Rauch" <a...@labkey.com>
Subject TextField constructors
Date Sun, 20 Jan 2013 19:04:43 GMT
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 has no TextField(String, String) constructor.  Not a big deal, but
it would be nice to add one. or at least correct the migration guide.

 

Totally separate: I think the dev@lucene section of the mailing lists page
(http://lucene.apache.org/core/discussion.html) should reference "java-user"
instead of "solr-user."

 

Thanks,

Adam


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message