lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DMGoodst...@lbl.gov
Subject Re: maxDoc and RemoteSearchable problems
Date Sat, 28 Feb 2004 19:50:43 GMT
all fixed...it was caused by slightly different versions of the jvm being used to compile vs
execute the classes.
--DMG

----- Original Message -----
From: DMGoodstein@lbl.gov
Date: Friday, February 27, 2004 8:50 pm
Subject: maxDoc and RemoteSearchable problems

> I am instantiating a RemoteSearchable with a
> file-based IndexReader:
> 
> public static void main(String args[]) throws
> Exception {
>    System.setSecurityManager(new RMISecurityManager());
>    Searchable theLocal = new IndexSearcher(args[0]);
> theLocal.maxDoc();
> 
> the maxDoc() method call causes:
> 
> Exception in thread "main"
> java.lang.IncompatibleClassChangeError
> at
> org.apache.lucene.search.RemoteSearchable.maxDoc(RemoteSearchable.java:97)
> at
> org.apache.lucene.search.RemoteSearchable.main(RemoteSearchable.java:125)
> 
> I placed this method call in because a multisearcher
> i was attempting to instantiating off of this
> RemoteSearchable was choking on the maxDoc() method,
> which it (the MultiSearcher) calls in its
> constructor.  The index I'm building off of is fine
> (i can instantiate an IndexReader and search against
> it).  Any ideas what might be causing this would be
> welcome.  I'm building from lucene-1.3-final (though
> the jar builds as 1.4-rc1-dev) and I'm using
> jdk1.4.1_02 on linux 2.4.7
> 
> thanks,
> --David Goodstein
>   Joint Genome Institute
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message