From 9f186982aa46539673508a60299dcca3c3f3dac6 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Fri, 23 Mar 2012 17:23:50 +0000 Subject: [PATCH] LUCENE-2621: add description of new term vectors API git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304505 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/MIGRATE.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lucene/MIGRATE.txt b/lucene/MIGRATE.txt index 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 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. +