lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Serialization of
Date Thu, 15 Aug 2002 23:45:53 GMT
Karl von Randow wrote:
> The is not currently Serializable, I
> would like to propose that it is made serializable.

You're right, it should be.  This is a bug.  When I recently added 
support for remote searching I tested only TermQuery.

I fixed this and added unit test cases for BooleanQuery and PhraseQuery.

Thanks for catching this.

> I'm not sure about the Filter hierarchy, should these be Serializable as
> well?

Filter is already serializeable.  Note that subclasses should be 
careful, if they cache BitSets, to make sure that these are not 
serialized, by making the cache a transient field.  The recently added 
QueryFilter class does this.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message