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 Cyril Barlow <in...@fantasyfooty.org> on 2005/10/06 14:45:22 UTC

IndexSearcher over RMI

I'm trying to pass an IndexSearcher over RMI but I'm getting a :

java.rmi.UnmarshalException: error unmarshalling return; nested exception
is:
        java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException: org.apache.lucene.search.IndexSearcher

Is there any way around this?


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: IndexSearcher over RMI

Posted by Cyril Barlow <in...@fantasyfooty.org>.
----- Original Message ----- 
From: "Erik Hatcher" <er...@ehatchersolutions.com>
To: <ja...@lucene.apache.org>
Sent: Thursday, October 06, 2005 1:49 PM
Subject: Re: IndexSearcher over RMI


> 
> On Oct 6, 2005, at 8:45 AM, Cyril Barlow wrote:
> > I'm trying to pass an IndexSearcher over RMI but I'm getting a :
> >
> > java.rmi.UnmarshalException: error unmarshalling return; nested  
> > exception
> > is:
> >         java.io.WriteAbortedException: writing aborted;
> > java.io.NotSerializableException:  
> > org.apache.lucene.search.IndexSearcher
> >
> > Is there any way around this?
> 
> Yes - use RemoteSearchable.
> 
> Might I suggest you pick up a copy of "Lucene in Action" where most  
> of the questions you've asked recently are answered?! :)
> 
>      http://www.lucenebook.com
> 
> Erik
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
Cool I'll have a look

	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: IndexSearcher over RMI

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Oct 6, 2005, at 8:45 AM, Cyril Barlow wrote:
> I'm trying to pass an IndexSearcher over RMI but I'm getting a :
>
> java.rmi.UnmarshalException: error unmarshalling return; nested  
> exception
> is:
>         java.io.WriteAbortedException: writing aborted;
> java.io.NotSerializableException:  
> org.apache.lucene.search.IndexSearcher
>
> Is there any way around this?

Yes - use RemoteSearchable.

Might I suggest you pick up a copy of "Lucene in Action" where most  
of the questions you've asked recently are answered?! :)

     http://www.lucenebook.com

Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org