lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject maxDoc and RemoteSearchable problems
Date Sat, 28 Feb 2004 04:50:47 GMT
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]);

the maxDoc() method call causes:

Exception in thread "main"

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

--David Goodstein
   Joint Genome Institute

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

View raw message