LUCENE-3309: add CHANGES/MIGRATE

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376548 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-08-23 15:31:07 +00:00
parent 5beb6346e7
commit 6368e03ef8
2 changed files with 11 additions and 0 deletions

View File

@ -69,6 +69,10 @@ API Changes
inner Reader is 'input' like CharFilter in the 3.x series, instead of 'in'.
(Dawid Weiss, Uwe Schindler, Robert Muir)
* LUCENE-3309: The expert FieldSelector API, used to load only certain
fields in a stored document, has been replaced with the simpler
StoredFieldVisitor API. (Mike McCandless)
Bug Fixes
* LUCENE-4297: BooleanScorer2 would multiply the coord() factor

View File

@ -619,3 +619,10 @@ you can now do this:
postings in simple arrrays (byte[] for terms, int[] for docs, freqs,
positions, offsets). Note that this only covers postings, whereas
Instantiated covered all other parts of the index as well.
* LUCENE-3309: The expert FieldSelector API has been replaced with
StoredFieldVisitor. The idea is the same (you have full control
over which fields should be loaded). Instead of a single accept
method, StoredFieldVisitor has a needsField method: if that method
returns true then the field will be loaded and the appropriate
type-specific method will be invoked with that fields's value.