lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-515) Using ConstantScoreQuery on a RemoteSearchable throws java.io.NotSerializableException
Date Thu, 09 Mar 2006 02:46:57 GMT
     [ http://issues.apache.org/jira/browse/LUCENE-515?page=all ]
     
Yonik Seeley resolved LUCENE-515:
---------------------------------

    Fix Version: 2.0
     Resolution: Fixed
      Assign To: Yonik Seeley

Thanks Philippe!  I just commited this.

> Using ConstantScoreQuery on a RemoteSearchable throws java.io.NotSerializableException
> --------------------------------------------------------------------------------------
>
>          Key: LUCENE-515
>          URL: http://issues.apache.org/jira/browse/LUCENE-515
>      Project: Lucene - Java
>         Type: Bug
>   Components: Search
>     Versions: 1.9
>     Reporter: Philippe Laflamme
>     Assignee: Yonik Seeley
>      Fix For: 2.0
>  Attachments: constantscorequery-testcase.patch, constantscorequery.patch
>
> Using a ConstantScoreQuery through a MultiSearcher on a Searchable obtained through RMI
(RemoteSearchable) will throw a java.io.NotSerializableException
> The problem seems to be the fact that the ConstantScoreQuery.ConstantWeight has a Searcher
member variable which is not serializable. Keeping a reference to the Searcher does not seem
to be required: the fix seems trivial.
> I've created the TestCase to reproduce the issue and the patch to fix it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
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