Mailing List Archive

cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Query.java
scottganyo 02/02/05 10:00:18

Modified: src/java/org/apache/lucene/index Term.java
src/java/org/apache/lucene/search Query.java
Log:
implement Serializable

Revision Changes Path
1.2 +1 -1 jakarta-lucene/src/java/org/apache/lucene/index/Term.java

Index: Term.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/Term.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Term.java 18 Sep 2001 16:29:54 -0000 1.1
+++ Term.java 5 Feb 2002 18:00:18 -0000 1.2
@@ -62,7 +62,7 @@
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;




1.3 +1 -1 jakarta-lucene/src/java/org/apache/lucene/search/Query.java

Index: Query.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/Query.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Query.java 17 Jan 2002 02:00:09 -0000 1.2
+++ Query.java 5 Feb 2002 18:00:18 -0000 1.3
@@ -71,7 +71,7 @@
<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;




--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>
RE: cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Query.java [ In reply to ]
> From: otis@apache.org [mailto:otis@apache.org]
> + <li><a
> href="/lucene/docs/api/org/apache/lucene/queryParser/QueryPars
> er.html">QueryParser</a>
> </ul>

Any reason this can't be {@link QueryParser}?

Doug

--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>
RE: cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Query.java [ In reply to ]
No reason. I just went with what was there and realized that {@link
org.apache.lucene.queryParser.QueryParser} would be better as it would
be independent of the web portion of the path.
I'll change it in a bit.

Otis


--- Doug Cutting <DCutting@grandcentral.com> wrote:
> > From: otis@apache.org [mailto:otis@apache.org]
> > + <li><a
> > href="/lucene/docs/api/org/apache/lucene/queryParser/QueryPars
> > er.html">QueryParser</a>
> > </ul>
>
> Any reason this can't be {@link QueryParser}?
>
> Doug
>
> --
> To unsubscribe, e-mail:
> <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-dev-help@jakarta.apache.org>
>


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>