mirror of https://github.com/apache/lucene.git
LUCENE-1483: add missing deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@747019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
174e8237b9
commit
fa48227f98
|
@ -265,6 +265,8 @@ public interface FieldCache {
|
||||||
* @param comparator Used to convert terms into something to sort by.
|
* @param comparator Used to convert terms into something to sort by.
|
||||||
* @return Array of sort objects, one for each document.
|
* @return Array of sort objects, one for each document.
|
||||||
* @throws IOException If any error occurs.
|
* @throws IOException If any error occurs.
|
||||||
|
* @deprecated Please implement {@link
|
||||||
|
* FieldComparatorSource} directly, instead.
|
||||||
*/
|
*/
|
||||||
public Comparable[] getCustom (IndexReader reader, String field, SortComparator comparator)
|
public Comparable[] getCustom (IndexReader reader, String field, SortComparator comparator)
|
||||||
throws IOException;
|
throws IOException;
|
||||||
|
|
|
@ -38,6 +38,7 @@ import java.io.IOException;
|
||||||
*
|
*
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
* @since 1.4
|
* @since 1.4
|
||||||
|
* @deprecated Please use {@link FieldComparatorSource} instead.
|
||||||
*/
|
*/
|
||||||
public abstract class SortComparator
|
public abstract class SortComparator
|
||||||
implements SortComparatorSource {
|
implements SortComparatorSource {
|
||||||
|
|
|
@ -29,6 +29,7 @@ import java.io.Serializable;
|
||||||
*
|
*
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
* @since 1.4
|
* @since 1.4
|
||||||
|
* @deprecated Please use {@link FieldComparatorSource} instead.
|
||||||
*/
|
*/
|
||||||
public interface SortComparatorSource
|
public interface SortComparatorSource
|
||||||
extends Serializable {
|
extends Serializable {
|
||||||
|
|
|
@ -401,7 +401,7 @@ implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Returns true if <code>o</code> is equal to this. If a
|
/** Returns true if <code>o</code> is equal to this. If a
|
||||||
* {@link SortComparatorSource} or {@link
|
* {@link SortComparatorSource} (deprecated) or {@link
|
||||||
* FieldCache.Parser} was provided, it must properly
|
* FieldCache.Parser} was provided, it must properly
|
||||||
* implement equals (unless a singleton is always used). */
|
* implement equals (unless a singleton is always used). */
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
|
@ -419,7 +419,7 @@ implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Returns true if <code>o</code> is equal to this. If a
|
/** Returns true if <code>o</code> is equal to this. If a
|
||||||
* {@link SortComparatorSource} or {@link
|
* {@link SortComparatorSource} (deprecated) or {@link
|
||||||
* FieldCache.Parser} was provided, it must properly
|
* FieldCache.Parser} was provided, it must properly
|
||||||
* implement hashCode (unless a singleton is always
|
* implement hashCode (unless a singleton is always
|
||||||
* used). */
|
* used). */
|
||||||
|
|
Loading…
Reference in New Issue