Apache Lucene open-source search software
LUCENE-2621: add description of new term vectors API
Michael McCandless9f186982aa46
diff --git a/lucene/MIGRATE.txt b/lucene/MIGRATE.txtindex 5d4e5200526..2aebea08bc2 100644--- a/lucene/MIGRATE.txt+++ b/lucene/MIGRATE.txt@@ -614,3 +614,11 @@ you can now do this:* LUCENE-3687: Similarity#computeNorm() now expects a Norm object to set the computednorm value instead of returning a fixed single byte value. Custom similarities can nowset 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.+