lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Mannix <>
Subject Re: Query about Query.ToString()
Date Wed, 17 Feb 2010 19:01:47 GMT
On Wed, Feb 17, 2010 at 10:55 AM, Erick Erickson <>wrote:

> Well, Query *does* implement the Serializable interface, so that
> might work. WARNING: I haven't personally used the Serializable
> interface on Query, so I have no real clue whether it's applicable!

Query is serializable (lots of people use raw java serialization for
but warning: no core Lucene Query subclasses
define serialversionUID, so while they will transmit over the wire
fine now, but both ends (server and client) need to be on the exact
same Lucene version.  This can cause headaches during Lucene
upgrades if you have an "always running" distributed system.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message