You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Yonghui Zhao <zh...@gmail.com> on 2013/08/07 10:52:37 UTC
SortField is not serializable
In lucene 4.3, SortField is not serializable now.
When I try to serialize a request which has SortField,
java.io.NotSerializableException: org.apache.lucene.search.SortField
exception is thrown out.
Any work around?
Re: SortField is not serializable
Posted by Robert Muir <rc...@gmail.com>.
Lucene 4 does not support serialization.
On Wed, Aug 7, 2013 at 4:52 AM, Yonghui Zhao <zh...@gmail.com> wrote:
> In lucene 4.3, SortField is not serializable now.
>
> When I try to serialize a request which has SortField,
> java.io.NotSerializableException: org.apache.lucene.search.SortField
> exception is thrown out.
>
> Any work around?
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org