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 2012/03/23 18:23:51 UTC
svn commit: r1304505 - /lucene/dev/trunk/lucene/MIGRATE.txt
Author: mikemccand
Date: Fri Mar 23 17:23:50 2012
New Revision: 1304505
URL: http://svn.apache.org/viewvc?rev=1304505&view=rev
Log:
LUCENE-2621: add description of new term vectors API
Modified:
lucene/dev/trunk/lucene/MIGRATE.txt
Modified: lucene/dev/trunk/lucene/MIGRATE.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/MIGRATE.txt?rev=1304505&r1=1304504&r2=1304505&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/MIGRATE.txt (original)
+++ lucene/dev/trunk/lucene/MIGRATE.txt Fri Mar 23 17:23:50 2012
@@ -614,3 +614,11 @@ you can now do this:
* LUCENE-3687: Similarity#computeNorm() now expects a Norm object to set the computed
norm value instead of returning a fixed single byte value. Custom similarities can now
set integer, float and byte values if a single byte is not sufficient.
+
+* LUCENE-2621: Term vectors are now accessed via flexible indexing API.
+
+ If you used IndexReader.getTermFreqVector/s before, you should now
+ use IndexReader.getTermVectors. The new method returns a Fields
+ instance exposing the inverted index of the one document. From
+ Fields you can enumerate all fields, terms, positions, offsets.
+