LUCENE-652: deprecate FieldSelectorResult.LOAD_FOR_MERGE, since it's really an internal option and is used only for dealing with compressed fields, which are now externalized

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756911 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-03-21 10:35:52 +00:00
parent 4f7ef62e1f
commit 04c0d1f81a
1 changed files with 5 additions and 1 deletions

View File

@ -58,7 +58,11 @@ public final class FieldSelectorResult implements Serializable {
* Behaves much like {@link #LOAD} but does not uncompress any compressed data. This is used for internal purposes.
* {@link Document#getField(String)} and {@link Document#getFieldable(String)} should not return null.
* <p/>
* {@link Document#add(Fieldable)} should be called by the Reader.
* {@link Document#add(Fieldable)} should be called by
* the Reader.
* @deprecated This is an internal option only, and is
* no longer needed now that {@link CompressionTools}
* is used for field compression.
*/
public transient static final FieldSelectorResult LOAD_FOR_MERGE = new FieldSelectorResult(4);