You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2013/01/20 20:29:24 UTC
svn commit: r1435924 - /lucene/dev/branches/branch_4x/lucene/MIGRATE.txt
Author: mikemccand
Date: Sun Jan 20 19:29:24 2013
New Revision: 1435924
URL: http://svn.apache.org/viewvc?rev=1435924&view=rev
Log:
correct TextField migration
Modified:
lucene/dev/branches/branch_4x/lucene/MIGRATE.txt
Modified: lucene/dev/branches/branch_4x/lucene/MIGRATE.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/MIGRATE.txt?rev=1435924&r1=1435923&r2=1435924&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/MIGRATE.txt (original)
+++ lucene/dev/branches/branch_4x/lucene/MIGRATE.txt Sun Jan 20 19:29:24 2013
@@ -515,7 +515,7 @@ If you did this before (value can be Str
you can now do this:
- new TextField("field", value)
+ new TextField("field", value, Field.Store.NO)
If instead the value was stored:
@@ -523,7 +523,7 @@ If instead the value was stored:
you can now do this:
- new Field("field", value, TextField.TYPE_STORED)
+ new TextField("field", value, Field.Store.YES)
If in addition you omit norms: