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: u...@thetaphi.de

> -----Original Message-----
> From: Nagendra Nagarajayya [mailto:nnagaraja...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to