From 2099947cdff790b2be4541983796d12a27a25696 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Thu, 11 Jun 2009 01:45:00 +0000 Subject: [PATCH] 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 --- src/java/org/apache/lucene/search/FieldComparatorSource.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/lucene/search/FieldComparatorSource.java b/src/java/org/apache/lucene/search/FieldComparatorSource.java index 9a5613ccc0f..ccd6cfd09c2 100644 --- a/src/java/org/apache/lucene/search/FieldComparatorSource.java +++ b/src/java/org/apache/lucene/search/FieldComparatorSource.java @@ -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.