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

Reply via email to