mirror of https://github.com/apache/lucene.git
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:
parent
60817cb719
commit
d2e34a5fb9
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue