Hi Nagendra,

Lucene 4.0 removes support for (Java's broken and slow) Serializable 
everywhere, see https://issues.apache.org/jira/browse/LUCENE-2908
If you want to serialize your document, use a more professional and performant 
serialization framework like Avro, Thrift,...

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]

> -----Original Message-----
> From: Nagendra Nagarajayya [mailto:[email protected]]
> Sent: Tuesday, September 11, 2012 5:32 AM
> To: [email protected]
> Subject: Document is not serializable in 4.0
> 
> Hi!
> 
> Is there a reason why the Document object is no longer serializable in
> 4.0 ? Is it because it has become a more complex object as to 3.x version ? 
> This
> is breaking some 3.x lucene code that serialized lucene Documents ... (being
> migrated to 4.0)
> 
> Regards,
> - NN


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to