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

2012-02-01 Thread Thomas Koch
Hi, is there any way to use the Java Set class in PyLucene? e.g. the StopAnalyzer has a constructor with a Set for stopwords: StopAnalyzer(Version matchVersion, Set stopWords) see http://lucene.apache.org/java/3_5_0/api/all/org/apache/lucene/analysis/StopA nalyzer.html This used to be a li

Changes to enable easy_install of packages using JCC

2012-02-01 Thread Chris Wilson
Dear sirs, 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-using-apache-tika/ In order to make it easy to install Tika (which nor

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: Changes to enable easy_install of packages using JCC

2012-02-01 Thread Chris Wilson
Hi Andi, Thank you for your quick and positive reply :) On Wed, 1 Feb 2012, Andi Vajda wrote: I have been working on integrating Apache Tika (in Java) with our open source intranet application (in Python/Django) using JCC... Using Maven there helped considerably with getting all the pieces

Re: Changes to enable easy_install of packages using JCC

2012-02-01 Thread Andi Vajda
Hi Chris, On Wed, 1 Feb 2012, Chris Wilson wrote: Thank you for your quick and positive reply :) On Wed, 1 Feb 2012, Andi Vajda wrote: I have been working on integrating Apache Tika (in Java) with our open source intranet application (in Python/Django) using JCC... Using Maven there he

Re: Changes to enable easy_install of packages using JCC

2012-02-01 Thread Bill Janssen
Andi Vajda wrote: > Seriously, though, I think that the right thing to do to better > integrate JCC with distutils/setuptools/distribute/pip/etc... is to > make it into a distutils 'compiler'. This requires some work, though, > and I haven't done it in all thee years. Anyone with the itch to hack

Re: Changes to enable easy_install of packages using JCC

2012-02-01 Thread Andi Vajda
On Feb 1, 2012, at 20:49, Bill Janssen wrote: > Andi Vajda wrote: > >> Seriously, though, I think that the right thing to do to better >> integrate JCC with distutils/setuptools/distribute/pip/etc... is to >> make it into a distutils 'compiler'. This requires some work, though, >> and I haven'