From 04c0d1f81aee22bb77e65bb7622c13d388af15bf Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sat, 21 Mar 2009 10:35:52 +0000 Subject: [PATCH] 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 --- .../org/apache/lucene/document/FieldSelectorResult.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/lucene/document/FieldSelectorResult.java b/src/java/org/apache/lucene/document/FieldSelectorResult.java index b9c76a4d5b4..b1224a4dd2f 100755 --- a/src/java/org/apache/lucene/document/FieldSelectorResult.java +++ b/src/java/org/apache/lucene/document/FieldSelectorResult.java @@ -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. *

- * {@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);