Re: extending SolrIndexSearcher

2006-05-09 Thread Chris Hostetter
: IndexSearcher. I replaced it with ParallelMultiSearcher, where it is : initialized similar to the client code I mentioned above. : : >From that, it seems like Solr itself needs to marshall and unmarshall the : searcher instance SolrIndexSearcher holds, and because the : ParallelMultiSearcher is

Re: extending SolrIndexSearcher

2006-05-09 Thread Koji Miyamoto
I tried it with just Lucene + RMI, and that works just fine. It's actually based on the Lucene In Action e-book topic on how to use ParallelMultiSearcher (chap.5). The relevant code snippet follows: /* * search server: * This is the code frag for the search server, which enters * a wait-loop to

Re: Java heap space

2006-05-09 Thread Bill Au
Sorry, hit the wrong key before... FYI, I have just committed all the changes related to the Jetty downgrade into SVN. Let me know if you notice anything problems. Bill On 5/9/06, Bill Au <[EMAIL PROTECTED]> wrote: FYI, I have just committed the a On 5/8/06, Bill Au <[EMAIL PROTECTED]> wrot

Re: Java heap space

2006-05-09 Thread Bill Au
FYI, I have just committed the a On 5/8/06, Bill Au <[EMAIL PROTECTED]> wrote: I was able to produce an OutOfMemoryError using Yonik's python script with Jetty 6. I was not able to do so with Jetty 5.1.11RC0, the latest stable version. So that's the version of Jetty with which I will downgrade

Re: extending SolrIndexSearcher

2006-05-09 Thread Chris Hostetter
I don't really know a lot about RMI, but as i understand it, Serialization is a core neccessity -- if the arguments you want to pass to your Remote Method aren't serializable, then RMI can't pass those argument across the wire. That said: it's not clear to me from the psuedocode/stacktrace you in

extending SolrIndexSearcher

2006-05-09 Thread Koji Miyamoto
Hi, I am looking at extending the source code for SolrIndexSearcher for my own purposes. Basically, I am trying to replace the use of Lucene's IndexSearcher with a ParallelMultiSearcher version so that I can have a query search both locally available indexes as well as remote indexes available o