You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kyle Maxwell (JIRA)" <ji...@apache.org> on 2007/10/11 23:18:50 UTC

[jira] Updated: (LUCENE-1028) [tiny patch] CustomScoreQuery, etc are not Serializable

     [ https://issues.apache.org/jira/browse/LUCENE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kyle Maxwell updated LUCENE-1028:
---------------------------------

    Attachment: lucene-serialization.diff

> [tiny patch] CustomScoreQuery, etc are not Serializable
> -------------------------------------------------------
>
>                 Key: LUCENE-1028
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1028
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.2
>            Reporter: Kyle Maxwell
>            Priority: Critical
>         Attachments: lucene-serialization.diff
>
>
> In order to work with ParallelMultiSearcher, Query weights need to be serializable.  The interface Weight extends java.io.Serializable, but it appears that some of the newer queries unnecessarily store global state in their weights, thus causing serialization errors.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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