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

doronc edited comment on LUCENE-1028 at 10/13/07 10:11 AM:
----------------------------------------------------------------

Correction - BoostingTermQuery is ok, but TestBTQ had to be modified for the 
serialization test to pass. 
DisjunctionMaxQuery had problems similar to CustomScoreQuery.


      was (Author: doronc):
    Correction - BoostingTermQuery is ok, but TestBTQ had to be modified for 
the serialization test to pass. 
DisjunctionMaxQuery had problems to CustomScoreQuery.

  
> [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
>            Assignee: Doron Cohen
>            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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to