lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
Subject Re: Serializable SpellCheckResponse
Date Sat, 13 Aug 2011 04:47:35 GMT
I don't think there is a reason -- maybe open a JIRA issue for this.

For wicket, i would recommend looking at LoadableDetachableModel this
will make the query once for each request and avoid serializing the
results



On Fri, Aug 12, 2011 at 4:27 PM, Gregor Kaczor <gkaczor@gmx.de> wrote:
> I am using apache wicket and apache solr.
> In wicket i am passing QueryResponse to several classes which worked fine
> until I started using SpellChecking.
> Wicket is serializing objects in order to store them between requests.
> QueryResponse implements Serializable but SpellCheckResponse which is a
> member field of QueryResponse does not. This leads to Exceptions.
>
> My questions are:
>
> Is there a good reason for SpellCheckResponse (and TermsResponse) not to
> implement Serializable?
>
> Kind Regards
>
> Gregor
>
> --
> How to find files on the Internet? FindFiles.net!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message