mirror of
https://github.com/apache/lucene.git
synced 2025-02-20 17:07:09 +00:00
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
This commit is contained in:
parent
56a177774e
commit
9f186982aa
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user