mirror of https://github.com/apache/lucene.git
LUCENE-1598: FieldComparatorSource should be Serializable for back compat with SortComparatorSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783598 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
85f5a9c740
commit
2099947cdf
|
@ -18,6 +18,7 @@ package org.apache.lucene.search;
|
|||
*/
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Provides a {@link FieldComparator} for custom field sorting.
|
||||
|
@ -26,7 +27,7 @@ import java.io.IOException;
|
|||
* incompatible ways in the next release.
|
||||
*
|
||||
*/
|
||||
public abstract class FieldComparatorSource {
|
||||
public abstract class FieldComparatorSource implements Serializable {
|
||||
|
||||
/**
|
||||
* Creates a comparator for the field in the given index.
|
||||
|
|
Loading…
Reference in New Issue