Re: The future of the PyLucene project

2024-02-28 Thread Aric Coady
On Feb 28, 2024, at 2:29 PM, Andi Vajda wrote: > Of course anyone can vote ! > Anyone interested in this project can and should vote ! > If no one does, how do we know anyone cares ? +0.5. I’m still maintaining a docker image (coady/pylucene:rc), a homebrew formula, and a dependent project (lupy

Re: Pylucene patch

2020-04-22 Thread Aric Coady
> On Apr 22, 2020, at 8:25 AM, Andi Vajda wrote: > > > Hi Marc, > > On Wed, 22 Apr 2020, Marc Jeurissen wrote: > >> Hi Andi, >> >> I refer to this problem >> https://www.mail-archive.com/pylucene-dev@lucene.apache.org/msg02640.html >> >> You fixed it in JCC’s trunk, but apparently not in t

Re: [VOTE] Release PyLucene 8.1.1 (rc2)

2019-06-23 Thread Aric Coady
+1. rc builds available: - docker pull coady/pylucene:rc - brew install —devel coady/tap/pylucene > On Jun 22, 2019, at 5:17 PM, Andi Vajda wrote: > > > The PyLucene 8.1.1 (rc2) release tracking the recent release of > Apache Lucene 8.1.1 is ready. > > A release candidate is available from:

Re: [VOTE] Release PyLucene 7.4.0 (rc1)

2018-08-29 Thread Aric Coady
On Aug 28, 2018, at 11:05 AM, Andi Vajda wrote: > > > The PyLucene 7.4.0 (rc1) release tracking the recent release of > Apache Lucene 7.4.0 is ready. > > A release candidate is available from: > https://dist.apache.org/repos/dist/dev/lucene/pylucene/7.4.0-rc1/ > > PyLucene 7.4.0 is built with

Re: [VOTE] Release PyLucene 7.2.0 (rc1)

2017-12-29 Thread Aric Coady
On Dec 21, 2017, at 3:50 AM, Andi Vajda wrote: > > > The PyLucene 7.2.0 (rc1) release tracking the upcoming release of > Apache Lucene 7.2.0 is ready. > > A release candidate is available from: > https://dist.apache.org/repos/dist/dev/lucene/pylucene/7.2.0-rc1/ > > PyLucene 7.2.0 is built wit

Re: [VOTE] Release PyLucene 6.2.0 (rc1)

2016-09-11 Thread Aric Coady
+1. I’ve created a docker image and homebrew formula for rc2; will update them on release. $ docker pull coady/pylucene:6 $ brew install coady/core/pylucene > On Sep 8, 2016, at 7:07 AM, Andi Vajda wrote: > > > After an almost two year hiatus, a new PyLucene version is ready for release. >

Re: [POLL] What should happen to PyLucene now?

2016-07-02 Thread Aric Coady
[X] I’ll help make a new release happen, if I get some help! > On Jul 1, 2016, at 9:35 AM, Alexander Yaworsky > wrote: > > Well, this bothered me (not a dev but fixed some of your bugs locally > long long ago, why didn't send patches is another story). Here's my > opinion, as a user. 1. Be in

Re: [VOTE] Release PyLucene 4.10.4-1

2015-03-10 Thread Aric Coady
> On Mar 9, 2015, at 10:42 PM, Andi Vajda wrote: > > > The PyLucene 4.10.4-1 release tracking the recent release of Apache Lucene > 4.10.4 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

Re: [VOTE] Release PyLucene 4.10.1-1

2014-10-01 Thread Aric Coady
On Oct 1, 2014, at 4:13 PM, Andi Vajda wrote: > The PyLucene 4.10.1-1 release tracking the recent release of Apache Lucene > 4.10.1 is ready. > > This release candidate fixes the regression found in the previous one, > 4.10.1-0, and is available from: > http://people.apache.org/~vajda/staging_a

Re: [VOTE] Release PyLucene 4.10.1-0

2014-10-01 Thread Aric Coady
On Oct 1, 2014, at 11:49 AM, Andi Vajda wrote: > On Tue, 30 Sep 2014, Andi Vajda wrote: > >> >> On Tue, 30 Sep 2014, Aric Coady wrote: >> >>> I?ve found a regression involving Python* classes. If the overridden >>> methods raise an error, it?s

Re: [VOTE] Release PyLucene 4.10.1-0

2014-09-30 Thread Aric Coady
I’ve found a regression involving Python* classes. If the overridden methods raise an error, it’s causing a crash instead of propagating the error. Here’s a simple example: from org.apache.pylucene.search import PythonFilter class Filter(PythonFilter): "Broken filter to test errors are rai

Re: Can\'t build on Mavericks (different issue)

2014-09-29 Thread Aric Coady
On Sep 29, 2014, at 4:00 PM, Andi Vajda wrote: > > On Sat, 27 Sep 2014, Andi Vajda wrote: > >> >> On Sat, 27 Sep 2014, Mattmann, Chris A (3980) wrote: >> >>> Guys was there ever a fix to this? I¹m having the exact same issue :( >>> Some notes: >>> Mac OS 10.9.4 >>> Trying to build JCC 2.19 >

Re: getRangeQuery

2014-07-24 Thread Aric Coady
On Jul 24, 2014, at 4:51 AM, Marc Jeurissen wrote: > Hi all, > > in PyLucene 4.5, when I execute dir(PythonQueryParser) , I get the following > result: > > ['AND_OPERATOR', 'Clause', 'Conjunction', 'MethodRemovedUseAnother', > 'Modifiers', 'OR_OPERATOR', 'Operator', 'Query', 'ReInit', 'Term',

Re: [VOTE] Release PyLucene 4.9.0-0

2014-07-09 Thread Aric Coady
On Jul 7, 2014, at 8:14 AM, Andi Vajda wrote: > > The PyLucene 4.9.0-0 release tracking the recent release of Apache Lucene > 4.9.0 is ready. > > > *** *** > > Starting with release 4.8.0, Lucene now requires Java 1.7 at the minimum. > Using Java 1.6 with Lucene 4.8.0 and newer is

Re: Getting term vectors/computing cosine similarity

2014-05-28 Thread Aric Coady
On May 28, 2014, at 12:03 AM, Michael O'Leary wrote: > Hi Andi, > Thanks for the help. I just tried to import TVTermsEnum so I could try > casting my iter, and I don't see how to do it since TVTermsEnum is a > private class with fully qualified > name > org.apache.lucene.codecs.compressing.Compre

Re: release votes

2014-04-24 Thread Aric Coady
On Apr 24, 2014, at 11:40 AM, Andi Vajda wrote: > On Thu, 24 Apr 2014, Thomas Koch wrote: >> I don't agree that it is unimportant to make PyLucene releases. Without a >> ready-to-run software package the hurdles to use PyLucene are raised. It is >> already not quite simple (for beginners) to insta

installation succeeds but errors anyway

2014-04-16 Thread Aric Coady
Any idea what’s happening here at the end of make install? Even though lucene was actually installed, make exits with an error intermittently. As if it’s trying to download it from pypi afterwards? … Adding lucene 4.7.2 to easy-install.pth file Installed .../lib/python2.7/site-packages/lucen

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

2012-02-01 Thread Aric Coady
On 2012 Feb 1, at 3:07 AM, 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: setAllowLeadingWildcard and PythonMultiFieldQueryParser

2010-08-19 Thread Aric Coady
On Aug 18, 2010, at 10:13 PM, Andi Vajda wrote: > On Wed, 18 Aug 2010, Aric Coady wrote: >> #query = queryParser.parse(queryString) >> query = queryParser.parse(Version.LUCENE_CURRENT, queryString, fields, >> [BooleanClause.Occur.SHOULD, >>

Re: setAllowLeadingWildcard and PythonMultiFieldQueryParser

2010-08-18 Thread Aric Coady
Your python example differs from the java example. The java one uses the call that's commented out: #query = queryParser.parse(queryString) query = queryParser.parse(Version.LUCENE_CURRENT, queryString, fields, [BooleanClause.Occur.SHOULD, BooleanClause.Occur.SHOULD],

Re: API changes between 2.9.2 and 2.9.3

2010-07-21 Thread Aric Coady
On Jul 21, 2010, at 12:18 AM, Thomas Koch wrote: > The question remains if it's feasible to support 2.x *and* 3.x - as Bill > mentioned "... I'd like to make it work on both." - me too. I did fear that > this makes things much more complicated and you end up with code "if > lucene.VERSION.split('

Re: JCC and PyLucene ported to Python 3.0

2010-07-14 Thread Aric Coady
Thanks, great work. I ran into minor build issues (also using Python 3.1.2 on Mac OS X 10.6): BUILD FAILED pylucene3/lucene-modules-4.0/build.xml:31: The following error occurred while executing this line: pylucene3/lucene-modules-4.0/analysis/build.xml:31: The following error occurred while e

Re: Help with using MultiFieldQueryParser

2010-07-09 Thread Aric Coady
On Jul 9, 2010, at 9:53 AM, Soby Thomas wrote: > Hi , > > I'm trying to use MultiFieldQueryParser. But it is giving me an error. This > is the code which I wrote for it. > > * query = lucene.MultiFieldQueryParser(lucene.Version.LUCENE_CURRENT, > ["payload","subject"], analyzer).parse(command) I

Re: Problem getting tokens for document

2010-04-14 Thread Aric Coady
Hey, Herb. There is a memory leak in the string array in pylucene 2.4. In this case it would be the iteration of tfvP.getTerms(). The fix made it into 2.9, more history here: http://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/200907.mbox/%3calpine.osx.2.01.0907301553230.5...@yuzu%3e

Re: PyLucene 2.9.0 sources available for testing

2009-09-30 Thread Aric Coady
On Sep 29, 2009, at 3:10 PM, Andi Vajda wrote: With the recent release of Java Lucene 2.9.0, a PyLucene 2.9.0 release is in the works. I just completed the first rev of this and checked it into svn trunk. So far, I've only tested it on Mac OS X 10.6 with 64-bit Python. All unit tests pass

Re: memory leak in string array

2009-07-30 Thread Aric Coady
On Jul 30, 2009, at 3:18 PM, Andi Vajda wrote: On Thu, 30 Jul 2009, Aric Coady wrote: Looks like there are some memory leaks in JArray_string, when iterating or accessing its items. I've seen it reproduce with 2.4.1 on linux and osx. Attached is a test case to demonstrate it

memory leak in string array

2009-07-30 Thread Aric Coady
Hey, Looks like there are some memory leaks in JArray_string, when iterating or accessing its items. I've seen it reproduce with 2.4.1 on linux and osx. Attached is a test case to demonstrate it using Document.getValues, and a potential patch. """ Memory leak in string array, as returne

Re: initVM() crash and web.py

2009-06-15 Thread Aric Coady
On Jun 15, 2009, at 12:12 PM, Neha Gupta wrote: The problem am having is that when I send a few requests one after the other then the server crashes. I tried to put initVM() right after import lucene statement at the top of the program but the crash still happens. I also read this post: htt

Re: [VOTE] Release PyLucene 2.4.1

2009-03-11 Thread Aric Coady
On Mar 11, 2009, at 10:06 AM, Andi Vajda wrote: With the recent release of Java Lucene 2.4.1, it's high time PyLucene get its first release out as an Apache subproject. I hope I got all the steps right and all the things into the right place. Thanks. Release candidate 1 of PyLucene 2.4.1 i