Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 38377 invoked from network); 9 Mar 2006 00:51:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Mar 2006 00:51:11 -0000 Received: (qmail 93777 invoked by uid 500); 9 Mar 2006 00:51:09 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 93738 invoked by uid 500); 9 Mar 2006 00:51:08 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 93727 invoked by uid 99); 9 Mar 2006 00:51:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 16:51:08 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2006 16:51:07 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax (Postfix) with ESMTP id C9B2CD49F9 for ; Thu, 9 Mar 2006 00:50:46 +0000 (GMT) Message-ID: <977223603.1141865446800.JavaMail.jira@ajax> Date: Thu, 9 Mar 2006 00:50:46 +0000 (GMT) From: "Philippe Laflamme (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Created: (LUCENE-515) Using ConstantScoreQuery on a RemoteSearchable throws java.io.NotSerializableException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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