[VOTE] Release PyLucene 3.6.0 rc2 (nag)

2012-05-10 Thread Andi Vajda
This vote is still open. We need one more +1 PMC vote before PyLucene 3.6.0 can be released. Thanks ! -- Forwarded message -- Date: Mon, 7 May 2012 17:20:24 -0700 (PDT) From: Andi Vajda Reply-To: pylucene-...@lucene.apache.org, Andi Vajda To: pylucene-...@lucene.apache.org Cc

Re: [VOTE] Release PyLucene 3.6.0 rc2

2012-05-08 Thread Andi Vajda
ntional, in > jcc/jcc/python.py? Just prints a lot of stuff out while building > PyLucene... Yes, that was submitted by a user to make more explicit what was fed to setup(). An aid for debugging. Andi.. > > Mike McCandless > > http://blog.mikemccandless.com > > On

Re: AW: AW: PyLucene use JCC shared object by default

2012-04-30 Thread Andi Vajda
. Needs some JCC expert I guess ,-) Of course we can leave the patch out - but still there's the same issue with JavaSet. kind regards Thomas -- OrbiTeam Software GmbH & Co. KG, Germany http://www.orbiteam.de -Ursprüngliche Nachricht- Von: Andi Vajda [mailto:va...@apache.org

Re: AW: AW: PyLucene use JCC shared object by default

2012-04-30 Thread Andi Vajda
kind regards Thomas -- OrbiTeam Software GmbH & Co. KG, Germany http://www.orbiteam.de -Ursprüngliche Nachricht- Von: Andi Vajda [mailto:va...@apache.org] Gesendet: Mittwoch, 18. April 2012 20:37 An: pylucene-...@lucene.apache.org Betreff: Re: AW: PyLucene use JCC shared object b

Re: AW: PyLucene use JCC shared object by default

2012-04-18 Thread Andi Vajda
Hi Thomas, On Apr 18, 2012, at 6:31, "Thomas Koch" wrote: > Hi, > sounds like an interesting project – may I ask what you actually implemented > and what’s the motivation (e.g. performance?)? > > I’ve started to experiment with the Facet support in Lucene (actually in > PyLucene – ported an

Re: PyLucene use JCC shared object by default

2012-04-18 Thread Andi Vajda
isolating its Java classes into a jar file and generating C++/Python wrappers for it using JCC ? Andi.. > > On Tue, Apr 17, 2012 at 7:39 PM, Andi Vajda wrote: > >> >> Hi Caleb, >> >> >> On Tue, 17 Apr 2012, Caleb Burns wrote: >> >> I've

Re: VOTE: Lucene/Solr 3.6

2012-04-05 Thread Andi Vajda
On Thu, 5 Apr 2012, Robert Muir wrote: Please vote to release these artifacts: http://s.apache.org/lusolr36rc0 I tested with dev-tools/scripts/smokeTestRelease.py, ran rat-sources on both source releases, tested solr example, and reviewed packaging contents (http://people.apache.org/~rmuir/36_

[jira] [Commented] (PYLUCENE-17) Possible race condition with pylucene attachCurrentThread

2012-03-29 Thread Andi Vajda (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241852#comment-13241852 ] Andi Vajda commented on PYLUCENE-17: That is most likely not the problem,

[jira] [Commented] (PYLUCENE-17) Possible race condition with pylucene attachCurrentThread

2012-03-29 Thread Andi Vajda (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241755#comment-13241755 ] Andi Vajda commented on PYLUCENE-17: And I stand corrected, class$ is not a jc

[jira] [Commented] (PYLUCENE-17) Possible race condition with pylucene attachCurrentThread

2012-03-29 Thread Andi Vajda (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241752#comment-13241752 ] Andi Vajda commented on PYLUCENE-17: Assuming this is the right C++ keyword, to

Re: Compiling JCC as shared object

2012-03-28 Thread Andi Vajda
On Wed, 28 Mar 2012, Caleb Burns wrote: According to http://lucene.apache.org/pylucene/jcc/install#shared_mode_support_for_the_code--sharedcode_flag (or doc/jcc/documentation/install.html#shared from pylucene tarball), I can set the `--shared` flag in order to compile JCC as a shared object ins

Re: AW: AW: Setting Stopword Set in PyLucene (or using Set in general)

2012-02-23 Thread Andi Vajda
collections >>>> pl = collections.JavaList(l) >>>> pl.size() > 3 >>>> jl = lucene.ArrayList(pl) >>>> jl > >>>> > > now we have created an instance of a java.util.ArrayList with a python > "native" list (l) wrapped

Re: Changes to enable easy_install of packages using JCC

2012-02-02 Thread Andi Vajda
On Thu, 2 Feb 2012, Bill Janssen wrote: Andi Vajda wrote: I think the right thing to do is to 1. re-write the current jcc setup.py to use distutils2, and then Is distutils2 supported on older Python 2.x versions like 2.4, 2.5 ? I'd be happy to drop support for older releases for

Re: Changes to enable easy_install of packages using JCC

2012-02-01 Thread Andi Vajda
Hello, Comments and replies inline... On Wed, 1 Feb 2012, Chris Wilson wrote: I have been working on integrating Apache Tika (in Java) with our open source intranet application (in Python/Django) using JCC, as described here: http://blog.aptivate.org/2012/02/01/content-indexing-in-django-u

Re: AW: Setting Stopword Set in PyLucene (or using Set in general)

2012-02-01 Thread Andi Vajda
Hi Thomas, On Wed, 1 Feb 2012, Thomas Koch wrote: OK, I found a solution (obviously not the best one...): lucene.Set is representing a java.util *interface* Set which of course cannot be instantiated. HashSet is an implementing class, and can be instantiated. You can add elements via the add(

Re: Typecasting in JCC (i think..)

2012-01-31 Thread Andi Vajda
On Tue, 31 Jan 2012, Petrus Hyvönen wrote: Is there a way of specifying which java SDK to link to? On my windows 7 machine it wants to use Java SDK 1.7 but I would like to keep it at SDK 1.6? Is this possible? When you build jcc, you choose which JDK you compile with and link to via the CFLA

Re: Lucene 4.0 Beta

2012-01-11 Thread Andi Vajda
On Jan 11, 2012, at 12:03, Robert Muir wrote: > On Wed, Jan 11, 2012 at 2:57 PM, Yonik Seeley > wrote: > >> If someone does want to work on a large 5.0 feature *right now* as >> opposed to working on 4.0, then they can create a branch and merge >> that later. >> > > No, they can commit it to

[ANNOUNCE] Apache PyLucene 3.5.0

2011-12-13 Thread Andi Vajda
I am pleased to announce the availability of Apache PyLucene 3.5.0. Apache PyLucene, a subproject of Apache Lucene, is a Python extension for accessing Apache Lucene Core. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python. It is API compatible with the

Re: [VOTE] Release PyLucene 3.5.0

2011-12-08 Thread Andi Vajda
On Thu, 8 Dec 2011, Robert Muir wrote: On Wed, Dec 7, 2011 at 8:22 PM, Andi Vajda wrote: JavaError: java.lang.UnsupportedOperationException: This JRE does not have support for Thai segmentation    Java stacktrace: java.lang.UnsupportedOperationException: This JRE does not have support for

Re: [VOTE] Release PyLucene 3.5.0

2011-12-07 Thread Andi Vajda
On Wed, 7 Dec 2011, Bill Janssen wrote: Here's an issue with the new IndexPolicy class: compile: [mkdir] Created dir: /private/tmp/pylucene-3.5.0-1/build/classes [javac] /private/tmp/pylucene-3.5.0-1/extensions.xml:19: warning: 'includeantruntime' was not set, defaulting to build.syscla

Re: [VOTE] Release PyLucene 3.5.0

2011-12-07 Thread Andi Vajda
On Wed, 7 Dec 2011, Bill Janssen wrote: Andi Vajda wrote: A list of Lucene Java changes can be seen at: http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_5/lucene/CHANGES.txt ``The requested URL /repos/asf/lucene/dev/tags/lucene_solr_3_5/lucene/CHANGES.txt was not found on

Re: [VOTE] Release PyLucene 3.5.0

2011-12-07 Thread Andi Vajda
On Wed, 7 Dec 2011, Christian Heimes wrote: Am 07.12.2011 03:39, schrieb Andi Vajda: The PyLucene 3.5.0-1 release closely tracking the recent release of Apache Lucene 3.5.0 is ready. A release candidate is available from: http://people.apache.org/~vajda/staging_area/ A list of changes in

Re: buildbots for PyLucene?

2011-11-29 Thread Andi Vajda
On Nov 29, 2011, at 15:18, Bill Janssen wrote: > I've once again spent an hour building PyLucene, which gives me some > sympathy for issue 10: > > https://issues.apache.org/jira/browse/PYLUCENE-10 > > I was thinking about how to address this... > > One thing I've found useful at PARC is to se

Re: set PYTHONPATH programatically from Java?

2011-11-14 Thread Andi Vajda
trivial my knowledge might be sufficient for this :)) Yes, adding an 'eval' method on PythonVM, like the 'instantiate' method, would make sense. A patch is welcome ! Andi.. roman On Mon, Nov 14, 2011 at 1:12 PM, Roman Chyla wrote: On Mon, Nov 14, 2011 at 4:25 AM, Andi

Re: can't export ImageIO?

2011-11-03 Thread Andi Vajda
On Thu, 3 Nov 2011, Bill Janssen wrote: * All classes from either --include jars or the JRE, which already selected classes depend on, that come from packages included with --package No. If you --include blah.jar and its package(s) are not listed, then classes it contains are not wrapped.

Re: can't export ImageIO?

2011-11-03 Thread Andi Vajda
On Thu, 3 Nov 2011, Bill Janssen wrote: Andi Vajda wrote: On Nov 2, 2011, at 10:02, Bill Janssen wrote: I'm trying to export the javax.imageio.ImageIO class from a Python module. I use the following command: $ sudo python -m jcc.__main__ --jar GoodStuff.jar --package java.awt.

Re: NameError: name '_jcc' is not defined

2011-11-03 Thread Andi Vajda
Andi.. > > On Thu, Nov 3, 2011 at 1:05 AM, Andi Vajda wrote: >> On Nov 2, 2011, at 17:14, "A. Heifets" wrote: >>> Hello PyLuceners, >>> >>> The PyLucene make command is failing with the following error: >>> Traceback (most recent cal

Re: SynonymAnalyzer(s) in PyLucene34

2011-10-27 Thread Andi Vajda
Hi Mike, On Thu, 27 Oct 2011, Michael McCandless wrote: On Thu, Oct 27, 2011 at 9:09 AM, Andi Vajda wrote: So, I downloaded the new version of the samples, hoping to find a new version of the wordnet index. But first, following instructions in README, running 'ant test' in

Re: Build problems

2011-10-13 Thread Andi Vajda
On Thu, 13 Oct 2011, Joe Cabrera wrote: I am trying to install PyLucene 3.4.0-1 on Ubuntu 11.04 with Python 2.7.1+ and JCC 2.11 and setuptools 0.6c9 egg I have installed JCC with shared module. My makefile looks like this: VERSION=3.4.0-1 LUCENE_SVN_VER=HEAD LUCENE_VER=3.4.0-1 LUCENE_SVN=http

[VOTE] Release PyLucene 3.4.0

2011-09-15 Thread Andi Vajda
The PyLucene 3.4.0-1 release closely tracking the recent release of Apache Lucene 3.4.0 is ready. A release candidate is available from: http://people.apache.org/~vajda/staging_area/ A list of changes in this release can be seen at: http://svn.apache.org/repos/asf/lucene/pylucene/branches/pyluc

Re: [VOTE] Release Lucene/Solr 3.4.0, RC1

2011-09-11 Thread Andi Vajda
I prepared a PyLucene 3.4 release candidate from the Lucene 3.4 branch. All tests pass. +1 to release Lucene Solr 3.4. Andi.. On Sep 9, 2011, at 9:06, Michael McCandless wrote: > Please vote to release the RC1 artifacts at: > > > https://people.apache.org/~mikemccand/staging_area/lucene-sol

Re: Fwd: [Orekit Developers] Distribution of orekit-python "egg"

2011-09-09 Thread Andi Vajda
On Fri, 9 Sep 2011, Petrus Hyvönen wrote: As this discussion could be of potential interest of others who makes python modules using jcc I cross post it. I am really not experienced in the licensing issues of open source, closed source etc. A JCC generated external java library .egg, do conta

Re: JCC crash when building

2011-09-07 Thread Andi Vajda
I'm sorry, I'm not ignoring you, but since I don't run Windows much and mingw not at all, I can't help you. It is very likely you've got some DLLs mixed up indeed. Maybe someone with mingw experience here can chime in ? Andi.. On Tue, 6 Sep 2011, Petrus Hyvönen wrote: Hi again, python -m

[jira] [Commented] (LUCENE-2748) Convert all Lucene web properties to use the ASF CMS

2011-08-23 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089912#comment-13089912 ] Andi Vajda commented on LUCENE-2748: I completely agree, there should one css

[jira] [Commented] (LUCENE-2748) Convert all Lucene web properties to use the ASF CMS

2011-08-22 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088489#comment-13088489 ] Andi Vajda commented on LUCENE-2748: I made some progress today: - setup l

[jira] [Commented] (LUCENE-2748) Convert all Lucene web properties to use the ASF CMS

2011-08-10 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082467#comment-13082467 ] Andi Vajda commented on LUCENE-2748: Thank you Grant for getting this going. bq

Re: [VOTE]: Accept Kuromoji code donation to Apache Lucene

2011-08-09 Thread Andi Vajda
+1 Andi.. On Aug 9, 2011, at 22:40, Mark Miller wrote: > +1 > > On Aug 8, 2011, at 4:22 AM, Simon Willnauer wrote: > >> We are currently working on a code grant for the "Kuromoji Japanese >> morphological analyzer" in LUCENE-3305 [1]. >> for the IP clearance we need to vote to accept the code

Re: JCC CompileError -- incorrect generic parameter detection

2011-08-04 Thread Andi Vajda
Hi Lukasz, On Mon, 1 Aug 2011, Andi Vajda wrote: So I did a custom build of JCC with that gentyref class wrapped and it does fix the problem you encountered but it then no longer compiles Lucene :-( I get this detailed error message from gentyref: jcc.cpp.JavaError

Re: JCC CompileError -- incorrect generic parameter detection

2011-08-01 Thread Andi Vajda
Hi Lukasz, On Sun, 31 Jul 2011, ?ukasz Jancewicz wrote: On Fri, Jul 29, 2011 at 17:09, Andi Vajda wrote: For example, is there a piece of gentyref code that I could 'borrow' (with attribution of course) and include that in the JCC sources to fix this particular problem ? If y

Re: JCC CompileError -- incorrect generic parameter detection

2011-07-29 Thread Andi Vajda
Hi Lukasz, Thank you very much for the detailed bug report and fix. If the gentyref library has Apache compatible licensing, I could use it for JCC. If the bug can be worked around without introducing this dependency, that would be even better. For example, is there a piece of gentyref code

[VOTE] Release PyLucene 3.3 (rc3)

2011-07-21 Thread Andi Vajda
A problem was found with rc2. Please, vote on rc3, thanks :-) The Apache PyLucene 3.3-3 release closely tracking the recent release of Apache Lucene Java 3.3 is ready. A release candidate is available from: http://people.apache.org/~vajda/staging_area/ This new release candidate fixes an iss

Re: [VOTE] Release PyLucene 3.3 (rc2)

2011-07-21 Thread Andi Vajda
recompiled from c:\Devel\Python26\lib\platform.pyc # c:\Devel\Python26\lib\string.pyc matches c:\Devel\Python26\lib\string.py import string # precompiled from c:\Devel\Python26\lib\string.pyc import strop # builtin import itertools # builtin make: *** [compile] Error 5 -Original Message- Fr

RE: [VOTE] Release PyLucene 3.3 (rc2)

2011-07-21 Thread Andi Vajda
ort string # precompiled from c:\Devel\Python26\lib\string.pyc import strop # builtin import itertools # builtin make: *** [compile] Error 5 -Original Message- From: Andi Vajda [mailto:va...@apache.org] Sent: Thursday, July 21, 2011 12:47 PM To: pylucene-...@lucene.apache.org Cc: gene...@luc

Re: PyLucene, multiprocessing, high thread count

2011-07-18 Thread Andi Vajda
uld run in the resources allocated to it, and not based on the totality of all resources available on the shared machine... Ok, then using threads instead of subprocesses is your best bet. Andi.. Andi.. Himanshu On Fri, Jul 15, 2011 at 9:47 AM, Christian Heimes wrote: Am 15.07.2

Re: [VOTE] Release PyLucene 3.3.0

2011-07-18 Thread Andi Vajda
On Sun, 3 Jul 2011, Christian Heimes wrote: Am 03.07.2011 18:17, schrieb Andi Vajda: What kind of errors ? So I added the grouping module to the PyLucene branch_3x build and it "just built" (tm). I even committed the change to the build (rev 1142455) but I didn't check th

Re: setuptools not really setuptools on Ubuntu

2011-06-29 Thread Andi Vajda
On Jun 29, 2011, at 22:17, Christian Heimes wrote: > Am 29.06.2011 18:13, schrieb Andi Vajda: >> Sigh. The setuptools story is getting worse. I wonder how the 'distribute' >> project is doing... It's the solution I used for the Python 3.1 jcc port I >> did

Re: calling a Python function from Java?

2011-06-29 Thread Andi Vajda
On Jun 29, 2011, at 22:06, Bill Janssen wrote: > Andi Vajda wrote: > >> Put everything into a class and call all the python stuff from there. > > I'd like to make the method on the Java class be static, so I'd like > that method to create an instance an

Re: setuptools not really setuptools on Ubuntu

2011-06-29 Thread Andi Vajda
Thank you for the details. Andi.. On Jun 29, 2011, at 19:37, Bill Janssen wrote: > Bill Janssen wrote: > >> Andi Vajda wrote: >> >>> Sigh. The setuptools story is getting worse. >> >>> I wonder how the >>> 'distribute' projec

Re: calling a Python function from Java?

2011-06-29 Thread Andi Vajda
Put everything into a class and call all the python stuff from there. Andi.. On Jun 29, 2011, at 18:18, Bill Janssen wrote: > I'm building a Java wrapper for the Python regex module, and I'd like to > be able to call the module function "escape" from Java. It takes a > string and returns a st

Re: setuptools not really setuptools on Ubuntu

2011-06-29 Thread Andi Vajda
On Jun 29, 2011, at 18:04, Bill Janssen wrote: > I hit another gotcha building shared on Ubuntu. I thought I had > setuptools installed. When I built JCC, I got no error message about > patch 43, and the config.py said "shared". But the library that got > built was "libjcc.a", not "libjcc.so"

Re: calling Python from Java fails...

2011-06-29 Thread Andi Vajda
On Jun 29, 2011, at 16:43, Bill Janssen wrote: > Andi Vajda wrote: > >>> By the way, you might want to add a paragraph in that section about >>> adding the ["-framework", "Python"] flags for building JCC on OS X. I >>> tripped over that

Re: [VOTE] release 3.3 (take two)

2011-06-27 Thread Andi Vajda
+1 PyLucene built from Lucene 3.3 rc3 passes all tests. Andi.. On Sun, 26 Jun 2011, Robert Muir wrote: Artifacts here: http://s.apache.org/lusolr330rc1 working release notes here: http://wiki.apache.org/lucene-java/ReleaseNote33 http://wiki.apache.org/solr/ReleaseNote33 To see the change

Re: [VOTE] release 3.3

2011-06-24 Thread Andi Vajda
+1 I built PyLucene from the Lucene 3.3 sources, fixed a bug due to FieldComparator becoming generic and all tests passed. Andi.. - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: d

Re: JCC usage failure

2011-06-09 Thread Andi Vajda
Hi Petrus, On Thu, 9 Jun 2011, Petrus Hyvönen wrote: Thank you for the support, Finally I manage to get it working by reserving some words, and minimizing the number of wrapped methods by just including those that I specifically need: python -m jcc --jar orekit-5.0.jar --include commons-mat

Re: Solr and Python

2011-06-04 Thread Andi Vajda
it. It just didn't occur to me. Andi.. > > Mike McCandless > > http://blog.mikemccandless.com > > On Thu, Jun 2, 2011 at 6:43 PM, Andi Vajda wrote: >> >> As I was responding on this list to Yonik yesterday about how PyLucene >> couldn't really make use

Re: JCC usage failure

2011-06-03 Thread Andi Vajda
On Jun 3, 2011, at 1:21, Petrus Hyvönen wrote: > Hi, > > I am trying to use JCC to wrap a java library (orekit.org), and have > successfully done so on the mac platform. As I also use windows I try to do > the same there. > > JCC compiles fine on both platforms (using --compiler=mingw32 on win

Solr and Python

2011-06-02 Thread Andi Vajda
As I was responding on this list to Yonik yesterday about how PyLucene couldn't really make use of the HTTP side of the Lucene/Solr project (in the "[VOTE] Lucene/Solr release 3.2 (take 2)" thread) I thought to myself "someone, somewhere is going to do this, though". Enter the montysolr proj

[jira] [Commented] (PYLUCENE-10) Building Pylucene is way too difficult

2011-06-02 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042984#comment-13042984 ] Andi Vajda commented on PYLUCENE-10: This bug is about a request to provide

Re: Hardcoded java paths in shared objects [was:Re: Building is too difficult and release of a first pre-built egg]

2011-06-02 Thread Andi Vajda
On Jun 2, 2011, at 3:10, Philippe Ombredanne wrote: > On 2011-06-01 20:54, Roman Chyla wrote: >> Note that the >> location of the java that was used for the project built will be >> hardcoded inside the dynamic library, but I plan to change the header >> and set a few standard paths there. > Thi

Re: [VOTE] Lucene/Solr release 3.2 (take 2)

2011-06-01 Thread Andi Vajda
On Wed, 1 Jun 2011, Yonik Seeley wrote: On Wed, Jun 1, 2011 at 6:03 PM, Andi Vajda wrote: +1 I checked out Lucene sources from the lucene_solr_3_2 branch, built PyLucene from them and all tests passed. Thank you for having fixed the bug that prevented a lucene-only checkout from building

Re: Welcome Erick Erickson as Lucene/Solr committer

2011-06-01 Thread Andi Vajda
And welcome Erick ! Andi.. On Wed, 1 Jun 2011, Robert Muir wrote: I'm pleased to announce that the Lucene PMC has voted for Erick Erickson as a committer. Erick, its tradition that you introduce yourself with a brief bio. Congratulations! ---

Re: Welcome Martijn van Groningen as Lucene/Solr committer

2011-06-01 Thread Andi Vajda
Welcome Martijn ! Andi.. On Wed, 1 Jun 2011, Michael McCandless wrote: The Lucene PMC has voted to add Martijn van Groningen as a Lucene/Solr committer. The traditional initiation ritual is to introduce yourself with a brief bio of how it is you came to join us :) Plus, once your account is

Re: [VOTE] Lucene/Solr release 3.2 (take 2)

2011-06-01 Thread Andi Vajda
+1 I checked out Lucene sources from the lucene_solr_3_2 branch, built PyLucene from them and all tests passed. Thank you for having fixed the bug that prevented a lucene-only checkout from building (LUCENE-3160, I believe) ! Andi.. On Mon, 30 May 2011, Robert Muir wrote: Please vote to

[jira] [Resolved] (PYLUCENE-10) Building Pylucene is way too difficult

2011-06-01 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/PYLUCENE-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-10. Resolution: Won't Fix This has been discussed before on the pylucene-dev list. Even picking

Re: Excluding inner classes is broken

2011-05-27 Thread Andi Vajda
On Thu, 12 May 2011, Christian Heimes wrote: Am 12.05.2011 21:10, schrieb Andi Vajda: Indeed. Thank you for patch. You are welcome! How's yesterday's issue's patch doing ? Is it reliable enough ? So far the patch is reliable and has improved the stability a lot. I haven&

Re: segfault in JCCEnv::deleteGlobalRef

2011-05-11 Thread Andi Vajda
On Wed, 11 May 2011, Christian Heimes wrote: There shouldn't be any random threads. Threads don't just appear out of thin air. You create them. If there is a chance that they call into the JVM, then attachCurrentThread(). I've already made sure, that all our code and threads are calling a hoo

RE: failure of some PyLucene tests on windows OS

2011-04-15 Thread Andi Vajda
On Fri, 15 Apr 2011, Thomas Koch wrote: I'd expect anyone running on Windows to see these test failures. Andi.. So what do you think about this issue - can we ignore this or claim it's a windows bug or hope that 'just' the test code is wrong? Here is what I think: I think that there is a b

Re: failure of some PyLucene tests on windows OS

2011-04-14 Thread Andi Vajda
On Apr 14, 2011, at 2:22, "Thomas Koch" wrote: >> Well, sure, not running the code that breaks solves the problem. But can > you >> then run the tests multiple times ? >> > [Thomas Koch] note that previously closeStore() was not called, but now when > calling it the test_PyLucene runs OK. > >

Re: [ANNOUNCE] Apache PyLucene 3.1.0

2011-04-14 Thread Andi Vajda
i, Apr 8, 2011 at 5:16 AM, wrote: > > Congrats Andi. A truly awesome project. > > On Thu, 7 Apr 2011 20:02:22 -0700 (PDT), Andi Vajda > wrote: > > I am pleased to announce the availability of Apache PyLucene 3.1.0. > > > > Apache PyLucene, a subproject of Apach

Re: [VOTE] Release PyLucene 3.1.0

2011-04-07 Thread Andi Vajda
On Sat, 2 Apr 2011, Andi Vajda wrote: The PyLucene 3.1.0-1 release closely tracking the recent release of Lucene Java 3.1.0 is ready. A release candidate is available from: http://people.apache.org/~vajda/staging_area/ A list of changes in this release can be seen at: http://svn.apache.org

Re: [VOTE] Release PyLucene 3.1.0

2011-04-06 Thread Andi Vajda
On Wed, 6 Apr 2011, Michael McCandless wrote: On Wed, Apr 6, 2011 at 6:38 PM, Andi Vajda wrote: On Wed, 6 Apr 2011, Bill Janssen wrote: Andi Vajda wrote: Unless I'm missing something here, you've got two options before you break your users:  1. fix your code before you ship

Re: [VOTE] Release PyLucene 3.1.0

2011-04-06 Thread Andi Vajda
On Wed, 6 Apr 2011, Bill Janssen wrote: Andi Vajda wrote: Unless I'm missing something here, you've got two options before you break your users: 1. fix your code before you ship it to them Unfortunately, the code is out there for building, and the instructions, also already

Re: Indexing Non-Textual Data

2011-04-06 Thread Andi Vajda
Hi, On Wed, 6 Apr 2011, Chris Spencer wrote: I'm new to PyLucene, so forgive me if this is a newbie question. I have a dataset composed of several thousand lists of 128 integer features, each list associated with a class label. Would it be possible to use Lucene as a classifier, by indexing t

Re: [VOTE] Release PyLucene 3.1.0

2011-04-06 Thread Andi Vajda
On Wed, 6 Apr 2011, Bill Janssen wrote: Andi Vajda wrote: Hi Bill, The QueryParser class changed a bit. More overloads were introduced on the Lucene side. You probably have a Python 'subclass' of QueryParser that needs a bit of work to adapt to the changes. Thanks, but...

Re: [VOTE] Release PyLucene 3.1.0

2011-04-06 Thread Andi Vajda
Hi Bill, The QueryParser class changed a bit. More overloads were introduced on the Lucene side. You probably have a Python 'subclass' of QueryParser that needs a bit of work to adapt to the changes. Look at the new version in apache/pylucene-3.1/java/org/apache/pylucene/queryParser/Python

[jira] [Commented] (LUCENE-2981) Review and potentially remove unused/unsupported Contribs

2011-03-31 Thread Andi Vajda (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014070#comment-13014070 ] Andi Vajda commented on LUCENE-2981: Unless there are users, I'm +1 for re

building Lucene from sources without Solr sources from svn ?

2011-03-27 Thread Andi Vajda
Hi, It seems that at this time, the HEAD of branch_3x can no longer be conveniently checked out with Lucene sources only. If I check out http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/lucene I'm not getting the common-build.xml file from above that the Lucene one depends on.

Re: issue with automatic iterable detection?

2011-03-25 Thread Andi Vajda
On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: Probably an array being used as a type parameter ? Like this? public ArrayList state; Or public class foo2 implements Iterator{ Or public int[] next() { Although rigging up your original test.java class

Re: real reason for java.lang.NoClassDefFoundError ?

2011-03-10 Thread Andi Vajda
On Mar 10, 2011, at 11:23, "Anton Korosov" wrote: > Thank you very much, Andi, for the prompt reply! > Can I torture you with questions a bit more? > > Now I tried to build it the following way: > python -m jcc.__init__ \ > --python testjava \ > --build \ > --install \ > --jar /host/local/beam-

Re: real reason for java.lang.NoClassDefFoundError ?

2011-03-09 Thread Andi Vajda
On Wed, 9 Mar 2011, Anton Korosov wrote: I'm trying to use BEAM/Visat software in Python. It is a large project with > 100 JARs. I try to 'convert' these JARs into Python specifying each after --jar option: python -m jcc.__init__ \ --python testbeam \ --jar /host/local/beam-4.8/modules/beam-lan

Re: issue with automatic iterable detection?

2011-03-07 Thread Andi Vajda
On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: Where does t_JArray get defined? I can't find it. I'm not sure there is one. If you can provide me with a piece of Java to reproduce this, I can fix it faster. I've narrowed this down to three iterator classes w

Re: Using JCC / PyLucene with JEPP?

2011-03-04 Thread Andi Vajda
On Mar 4, 2011, at 9:40, Bill Janssen wrote: > The number of patches to Tomcat make me uneasy. I was hoping to bundle > all this into a .war file containing a servlet which would use it with > an unmodified Tomcat. > > Does that seem possible? No. The PythonVM must be initialized in the main

Re: issue with automatic iterable detection?

2011-03-03 Thread Andi Vajda
On Thu, 3 Mar 2011, Andi Vajda wrote: Indeed, this is why I put that assertion there :-) It's a bit of guesswork what all the possibilities are there. I'll add support for arrays there. Fix is checked into rev 1076883. Back to you, Bill. Thanks ! Andi.. Andi.. On Thu, 3 Mar

Re: Test failures with pylucene-2.4.1-1

2011-02-25 Thread Andi Vajda
On Fri, 25 Feb 2011, tuxdna wrote: I built pylucene-2.4.1-1 on Fedora 14. ( https://tuxdna.wordpress.com/2011/02/25/pylucene-on-fedora-14/ ) When I did make test, I found test failures which I am pasting below: This looks like a version of jcc "too new" for this old a pylucene is used. Which

Re: a Debian package of PyLucene 3 for Ubuntu 10.10 "Maverick" (AMD64) ?

2011-02-17 Thread Andi Vajda
On Feb 17, 2011, at 0:31, Valery Khamenya wrote: Hi guys, I tried several times to install PyLucene 3 on Ubuntu 10.10 "Maverick" (AMD64). I have never succeeded with it (maybe 1 hour was never enough for it). Could someone, please, build a Debian package of PyLucene 3 for Debian 10.10?

Re: pylucene branch_3x fails to build

2011-02-03 Thread Andi Vajda
I just verified, at this moment, the HEAD of the 3.x branch http://svn.apache.org/repos/asf/lucene/pylucene/branches/branch_3x/ builds and passes all tests. Andi.. On Thu, 3 Feb 2011, Wylie, Brian wrote: Mistype (exceptions.xml) -> (extensions.xml) On 2/3/11 11:29 AM, "Wylie, Brian" wrote:

Re: pylucene branch_3x fails to build

2011-02-03 Thread Andi Vajda
On Thu, 3 Feb 2011, Wylie, Brian wrote: Mistype (exceptions.xml) -> (extensions.xml) This is about trunk or 3.x ? Not the same thing, trunk is highly unstable and PyLucene is not following it too closely. What used to be trunk at the Lucene project is now the so-called 3.x branch, consider

Re: Using IndexWriter.commit(Map commitUserData) in pylucene

2011-01-19 Thread Andi Vajda
On Wed, 19 Jan 2011, Eric Hall wrote: I'd like to store some index metadata using IndexWriter.commit(Map commitUserData) I've set up a python dict with string to string mappings, but if I use that I get an InvalidArgsError. Is there a different python type to use in t

Re: call python from java - what strategy do you use?

2011-01-12 Thread Andi Vajda
ed various combinations of instanatiation, and setting the classpatt or -Djava.library.path But no success. What am I doing wrong? Thank you,  roman On Wed, Jan 12, 2011 at 7:55 PM, Andi Vajda wrote: On Wed, 12 Jan 2011, Roman Chyla wrote: Hi Andi, all, I tried to implement the PythonVM

Re: call python from java - what strategy do you use?

2011-01-12 Thread Andi Vajda
Hi Roman, On Wed, 12 Jan 2011, Roman Chyla wrote: Thanks for the help, now I was able to run the java and loaded PythonVM. I then built the python egg, after a bit of fiddling with parameters, it seems ok. I can import the jcc wrapped python class and call it: In [1]: from solrpie_java impor

Re: call python from java - what strategy do you use?

2011-01-12 Thread Andi Vajda
On Wed, 12 Jan 2011, Roman Chyla wrote: And if in the python, I will do: import lucene import lucene.initVM(lucene.CLASSPATH) Will it work in this case? Giving access to the java classes from inside python. Or I will have to forget pylucene, and prepare some extra java classes? (the jcc in re

Re: call python from java - what strategy do you use?

2011-01-12 Thread Andi Vajda
I think I will give it a try, if only because I am curious. Please see one remaining question below. On Tue, Jan 11, 2011 at 10:37 PM, Andi Vajda wrote: On Tue, 11 Jan 2011, Roman Chyla wrote: Hi Andy, This is much more than I could have hoped! Just yesterday, I was looking for ways how to e

Re: call python from java - what strategy do you use?

2011-01-11 Thread Andi Vajda
ing.local. Andi.. Thank you. Cheers, roman On Tue, Jan 11, 2011 at 8:13 PM, Andi Vajda wrote:  Hi Roman, On Tue, 11 Jan 2011, Roman Chyla wrote: I have recently wrapped solr inside jetty with JCC (we need to access very big result sets quickly, via JNI, but also keep solr running as no

Re: pylucene branch_3x fails to build

2011-01-11 Thread Andi Vajda
On Tue, 11 Jan 2011, Helmut Jarausch wrote: First, the patch jcc/jcc/patches/patch.43.0.6c11 doesn't quite work for Python2.7.1. I have attached a modified patch. More serious is the following error during make (I'm using sun-jdk-1.6.0.23) ant -f extensions.xml -Dlucene.dir=lucene-java-3.x B

Re: call python from java - what strategy do you use?

2011-01-11 Thread Andi Vajda
Hi Roman, On Tue, 11 Jan 2011, Roman Chyla wrote: I have recently wrapped solr inside jetty with JCC (we need to access very big result sets quickly, via JNI, but also keep solr running as normal) and was wondering what strategies do you guys use to speak *from inside* Java towards the Python

Re: [VOTE] [Take 3] Release PyLucene 2.9.4-1 and 3.0.3-1

2010-12-16 Thread Andi Vajda
On Sun, 12 Dec 2010, Andi Vajda wrote: A patch that improves the finding of jni.h on Mac OS X was integrated. It made it worth blocking this release and preparing new release artifacts. No one voted on the [Take 2] artifacts and I hope this is not inconveniencing anyone. I also hope that

Re: building PyLucene 3.0.2 on Win7/MinGW with Python 2.7

2010-11-29 Thread Andi Vajda
On Mon, 29 Nov 2010, Bill Janssen wrote: Andi Vajda wrote: On Nov 29, 2010, at 9:45, Bill Janssen wrote: Andi Vajda wrote: I just tried this myself By "this", do you mean 64-bit Windows 7, or Python 2.7? Both. 64 bit Windows 7, with Python 2.7 and Java 1.6.0_22 b

Re: building PyLucene 3.0.2 on Win7/MinGW with Python 2.7

2010-11-28 Thread Andi Vajda
On Mon, 22 Nov 2010, Bill Janssen wrote: Bill Janssen wrote: Using depends.exe on _jcc.pyd says that the missing file is Python27.dll, which seems odd. Where should I find that? And there is a python27.dll in C:\Windows\system32\. So, not sure what the problem is. I just tried this mys

Re: inconsistency/performance trap of empty terms

2010-10-28 Thread Andi Vajda
On Oct 28, 2010, at 22:32, Robert Muir wrote: On Thu, Oct 28, 2010 at 10:28 PM, Andi Vajda wrote: I've used this in a URL index. I needed to be able to distinguish between searching URLs that had, say, no path, from searching URLs without matching the path component. The absen

Re: inconsistency/performance trap of empty terms

2010-10-28 Thread Andi Vajda
On Thu, 28 Oct 2010, Robert Muir wrote: On Thu, Oct 28, 2010 at 8:35 PM, wrote: In database queries, it is often useful to treat an empty value specially, and be able to search explicitly for records that have (for instance) no field X, or no value for field X.  I can't regurgitate offhand

<    1   2   3   >