lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Laflamme (JIRA)" <>
Subject [jira] Created: (LUCENE-515) Using ConstantScoreQuery on a RemoteSearchable throws
Date Thu, 09 Mar 2006 00:50:46 GMT
Using ConstantScoreQuery on a RemoteSearchable throws

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

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:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message