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:
Mark Robert Miller 2009-06-11 01:45:00 +00:00
parent 85f5a9c740
commit 2099947cdf
1 changed files with 2 additions and 1 deletions

View File

@ -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.