lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Document is not serializable in 4.0
Date Tue, 11 Sep 2012 06:08:41 GMT
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: uwe@thetaphi.de

> -----Original Message-----
> From: Nagendra Nagarajayya [mailto:nnagarajayya@transaxtions.com]
> Sent: Tuesday, September 11, 2012 5:32 AM
> To: java-user@lucene.apache.org
> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message