You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Youngho Cho <yo...@nannet.co.kr> on 2005/09/16 02:35:03 UTC

HitCollector with RemoteSearchable

Hello,

Can I use HitCollector with RemoteSearchable ?

I am tring to use it. But I got the following error.

java.rmi.MarshalException: error marshalling arguments; nested exception is: 
        java.io.NotSerializableException: org.apache.lucene.search.MultiSearcher$1
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
        at com.nannet.fulcrum.lucene.util.RefinedRemoteSearchable_Stub.search(Unknown Source)
        at org.apache.lucene.search.MultiSearcher.search(MultiSearcher.java:168)
        at org.apache.lucene.search.MultiSearcher.search(MultiSearcher.java:168)
        at org.apache.lucene.search.Searcher.search(Searcher.java:67)
....
....
Caused by: java.io.NotSerializableException: org.apache.lucene.search.MultiSearcher$1
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
        at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:265)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:124)
        ... 160 more

Thanks,

Youngho