[pylucene-dev] JCC 1.8 - double arrays as arguments in java methods

2008-04-18 Thread thejct
Dear all, I'm currently working on a web application using django (python). For this, I need a way for calling some java programs from python. I tried out jcc and it works fine but I can't use double lists/arrays as argument for java methods from python. Everything works fine if I'm using

[pylucene-dev] Several problems and questions about (py)Lucene

2008-04-18 Thread João Rodrigues
Hello all. I am developing an application that uses pyLucene to index a few documents and allow the user to perform searches on them. It is composed, basically, of an Indexer.py script and a Searcher.py script. They run separately and my only issue is with the Searcher.py script.. I usually work

Re: [pylucene-dev] Several problems and questions about (py)Lucene

2008-04-18 Thread Andi Vajda
On Apr 18, 2008, at 7:13, João Rodrigues [EMAIL PROTECTED] wrote: Hello all. I am developing an application that uses pyLucene to index a few documents and allow the user to perform searches on them. It is composed, basically, of an Indexer.py script and a Searcher.py script. They run

Re: [pylucene-dev] Several problems and questions about (py)Lucene

2008-04-18 Thread João Rodrigues
I don't that this is a PyLucene problem but a problem with starting the VM on windows. On Windows, are you able to start a 'hello world' type Java application with: java -Xmx=2g .. ? Have you considered using an MMapDirectory instead of an FSDirectory, thereby letting the OS play the

Re: [pylucene-dev] Several problems and questions about (py)Lucene

2008-04-18 Thread Andi Vajda
On Fri, 18 Apr 2008, João Rodrigues wrote: Well, to be honest, we have already discussed that issue of the RAM and it got nowhere... PyLucene is the *only* thing that can't use the full RAM.. I've tried hello world as you mentioned and posted my results. It works except for pylucene. Ohh, I

Re: [pylucene-dev] JCC 1.8 - double arrays as arguments in java methods

2008-04-18 Thread Andi Vajda
On Fri, 18 Apr 2008, [EMAIL PROTECTED] wrote: I'm currently working on a web application using django (python). For this, I need a way for calling some java programs from python. I tried out jcc and it works fine but I can't use double lists/arrays as argument for java methods from python.

Re: [pylucene-dev] Several problems and questions about (py)Lucene

2008-04-18 Thread João Rodrigues
Well, I read all of those links and none gave me the answer I was looking for :) MMap is slower than FSDirectory, and just that issue makes me avoid it. Regarding the windows problem, I think I found the answer. On http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx it says:

[pylucene-dev] jcc setup.py LFLAGS

2008-04-18 Thread Jeff Breidenbach
For packaging purposes, I'm planning to change jcc/setup.py as follows so that autobuilders have fewer problems. It means there are a couple extra paths for the linker / dynamic loader to search, but I don't see this as a big deal. Q1: I notice that rpath i386/AMD64 don't really match; one talks