lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1028) Weight is not serializable for some of the queries
Date Mon, 22 Oct 2007 10:02:02 GMT

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

Doron Cohen resolved LUCENE-1028.
---------------------------------

    Resolution: Fixed

Just committed this fix. 
Thanks Kyle!

> Weight is not serializable for some of the queries
> --------------------------------------------------
>
>                 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
>            Assignee: Doron Cohen
>         Attachments: lucene-serialization.diff, 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


Mime
View raw message