implement Serializable

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149666 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Scott Ganyo 2002-02-05 18:00:18 +00:00
parent 60817cb719
commit d2e34a5fb9
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ package org.apache.lucene.index;
Note that terms may represent more than words from text fields, but also
things like dates, email addresses, urls, etc. */
public final class Term {
public final class Term implements java.io.Serializable {
String field;
String text;

View File

@ -71,7 +71,7 @@ import org.apache.lucene.index.IndexReader;
<li><a href="doc/lucene.queryParser.QueryParser.html">QueryParser</a>
</ul>
*/
abstract public class Query {
abstract public class Query implements java.io.Serializable {
// query boost factor
protected float boost = 1.0f;