make SolrServer serializable

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@640964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2008-03-25 20:10:12 +00:00
parent 5e3d3a2df0
commit 68aaec038a
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
package org.apache.solr.client.solrj;
import java.io.IOException;
import java.io.Serializable;
import java.util.Collection;
import org.apache.solr.client.solrj.request.QueryRequest;
@ -34,7 +35,7 @@ import org.apache.solr.common.util.NamedList;
* @version $Id$
* @since solr 1.3
*/
public abstract class SolrServer
public abstract class SolrServer implements Serializable
{
public UpdateResponse add(Collection<SolrInputDocument> docs, boolean overwrite ) throws SolrServerException, IOException {
UpdateRequest req = new UpdateRequest();