Building PyLucene on Windows

2010-03-09 Thread Thomas Koch
to provide platform independant built processes - and it includes shell-tasks for anything that is not java... (I know this could be some work, just wanted to know if this question has been raised before or if this is a no-go option ?) best regards Thomas Koch -- OrbiTeam Software GmbH Co. KG

RE: API changes between 2.9.2 and 2.9.3

2010-07-21 Thread Thomas Koch
... I realize that PyLucene doesn't make that easy because it doesn't warn about deprecated API use. [Thomas Koch] Well this is a general drawback in Python as interpreted language I guess - wrong interfaces are only detected at runtime and are thus harder to test (unless you describe

RE: failure of some PyLucene tests on windows OS

2011-04-15 Thread Thomas Koch
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? I'd suggest to at least apply the mentioned fix (i.e. uncomment the close call in

RE: Need help building JCC on windows

2011-05-19 Thread Thomas Koch
Dear Baseer, I've never tried with Mingw32 but succeeded in a built with the Microsoft Visual Studio (Express 9.0) on Win7/32bit. Eggs are available for download at http://code.google.com/p/pylucene-win32-binary/downloads/list If you're only looking for JCC - version 2.6 is available for

RE: [VOTE] Release PyLucene 3.3 (rc2)

2011-07-22 Thread Thomas Koch
, I don't use mingw so I can't tell you much about it but others on this list do use it, they may have more to say... About the 'icupkg' utility missing, this is ignorable, you just won't get the PyLucene/PyICU integration, which is not indispensable. Andi.. On Thu, 21 Jul 2011, Thomas

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

2012-02-01 Thread Thomas Koch
stdin, line 1, in module NotImplementedError: ('instantiating java class', type 'Set') regards Thomas -- Thomas Koch OrbiTeam Software GmbH Co. KG Bonn, Germany http://www.orbiteam.de

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

2012-02-03 Thread Thomas Koch
Arrays.asList converts java arrays to java lists, and you can pass a python sequence to it. From there, all of the collection constructors can be passed other collections. Thanks, Aric - that helped a lot. Will also look at the hints Andi send earlier this day. Regards, Thomas

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

2012-02-22 Thread Thomas Koch
: Mittwoch, 1. Februar 2012 19:08 An: pylucene-dev@lucene.apache.org Betreff: Re: AW: Setting Stopword Set in PyLucene (or using Set in general) Hi Thomas, On Wed, 1 Feb 2012, Thomas Koch wrote: OK, I found a solution (obviously not the best one...): lucene.Set is representing

AW: AW: PyLucene use JCC shared object by default

2012-04-23 Thread Thomas Koch
, Thomas Koch k...@orbiteam.de 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 example to Python) and found

AW: Building PyLucene on Windows

2012-04-30 Thread Thomas Koch
Jeremy, (and Chris) note that there are some pre-built binaries of PyLucene/JCC available for Windows and other platforms in the pylucene extras project: http://code.google.com/a/apache-extras.org/p/pylucene-extra/ Anyway, I can shortly describe my setup for the build process : I am currently

AW: JCC initVM crash

2012-04-30 Thread Thomas Koch
'] CFLAGS=['-fno-strict-aliasing', '-Wno-write-strings'] DEBUG_CFLAGS=['-O0', '- g', '-DDEBUG'] LFLAGS=[u'-LC:\\Program Files (x86)\\Java\\jdk1.6.0_25/lib', '- ljvm'] IMPLIB_LFLAGS=['-Wl,--out-implib,%s'] SHARED=False VERSION=2.12) On 4/26/2012 4:46 PM, Thomas Koch wrote: Chris, Did you Build

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

2012-05-03 Thread Thomas Koch
(failures=4) -Ursprüngliche Nachricht- Von: Andi Vajda [mailto:va...@apache.org] Gesendet: Donnerstag, 3. Mai 2012 01:00 An: pylucene-dev@lucene.apache.org Betreff: Re: AW: AW: AW: PyLucene use JCC shared object by default Hi Thomas, On Wed, 2 May 2012, Thomas Koch wrote

AW: [VOTE] Release PyLucene 3.6.0

2012-05-06 Thread Thomas Koch
\lucene\build.xml ivy-bootstrap: [mkdir] Created dir: C:\Users\Thomas Koch\.ant\lib [echo] installing ivy 2.2.0 to C:\Users\Thomas Koch\.ant\lib [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar [get] To: C:\Users\Thomas Koch\.ant\lib\ivy-2.2.0.jar

PyLucene3.6 windows binaries

2012-05-23 Thread Thomas Koch
PyLucene 3.6.0 for Python 2.6/2.7 is now available as pre-compiled binary for windows (32bit) from the pylucene-extra site at http://code.google.com/a/apache-extras.org/p/pylucene-extra Note: pylucene-extra is not an official Apache project, but rather an attempt to lower the entry barrier to

AW: PyLucene 3.6 build on MacOS and PyLucene website

2012-08-23 Thread Thomas Koch
If anyone wants to help, here is link with a video on how to make edits and submit them (http://www.apache.org/dev/cmsref.html#non-committer) Contributions would be much appreciated. Andi.. I want to have a look at the process and see how I can help, but can't promise anything right

AW: DLL load failed: The specified module could not be found. from jcc import _jcc

2012-08-24 Thread Thomas Koch
else at pylucene that might be able to help? Or maybe point me to the patch that was proposed to see if that fixes the problem? Thanks for your help. Carlos On Thu, Aug 16, 2012 at 12:05 AM, Thomas Koch k...@orbiteam.de wrote: Dear Carlos, haven't used mod_wsgi so far, but remember

AW: Pylucene release

2012-11-14 Thread Thomas Koch
Hi Andi, I still wanted to check the API changes related to 4.0 and could then help with porting the example code (and/or unit tests). I hope there are more people interested in helping to port PyLucene (or at least the 'related' Python code) to the Lucene 4.0 level... How can we best proceed? I

Re: [VOTE] Release PyLucene 3.6.2

2012-12-30 Thread Thomas Koch
Hi, build succeeded on MacOS 10.8.2 with Python 2.7.2 and java 1.6.0_37. (= +1) I'm currently at home (xmas break) and don't have access to my Windows-build-environment, but can test on Win7 next week too. regards Thomas -- Am 26.12.2012 um 03:56 schrieb Andi Vajda va...@apache.org: The

AW: [VOTE] Release PyLucene 3.6.2

2013-01-02 Thread Thomas Koch
Update: I was also able to build JCC2.15/PyLucene3.6.2 on Win7(32 bit) with Python 2.7.2, Java 1.6 and MSVC9.0 Regards, Thomas -Ursprüngliche Nachricht- Von: Thomas Koch [mailto:k...@orbiteam.de] Gesendet: Sonntag, 30. Dezember 2012 15:22 An: pylucene developers Betreff: Re: [VOTE

Re: [VOTE] Release PyLucene 3.6.2

2013-01-03 Thread Thomas Koch
and confirmed it was Lucene 3.6.2 under the hood ... But net/net +1 to release: I didn't hit any showstoppers... Mike McCandless http://blog.mikemccandless.com On Wed, Jan 2, 2013 at 5:21 AM, Thomas Koch k...@orbiteam.de wrote: Update: I was also able to build JCC2.15/PyLucene3.6.2 on Win7(32 bit

Re: FacetExample.py

2013-02-11 Thread Thomas Koch
Hi Andi, first please excuse I didn't get back to you regarding the tests - I did start with it but then got stuck and distracted from other tasks popping up. No excuse - I just failed to deliver what I promised. ... Would you please port it to the new 4.x API so that it can be included with

Re: FacetExample.py

2013-02-12 Thread Thomas Koch
Hi Andi, Thanks to your hints I was now able to build PyLucene4.1 and got further with the FacetExample.py - The imports should be OK now and most of the required changes are done I guess. However I now reached another problem: I need to instantiate the class 'FacetsCollector' but get an error

Re: FacetExample.py

2013-02-13 Thread Thomas Koch
://dl.dropbox.com/u/4384120/FacetExample_patch_20130213.txt Thanks again for your help. regards, Thomas -- Am 12.02.2013 um 22:36 schrieb Andi Vajda va...@apache.org: Hi Thomas, On Tue, 12 Feb 2013, Thomas Koch wrote: Thanks to your hints I was now able to build PyLucene4.1 and got further

AW: [VOTE] Release PyLucene 4.2.1

2013-04-17 Thread Thomas Koch
Hi Andi, sorry, but -1 for Windows build: OK: I was able to build JCC 1.16 with Python27 on Win32 (Win7). Fail: I could not build PyLucene 4.2.1 with Python27 and Java 1.6. After having upgraded from my old ant 1.8.0 to ant 1.9.0 (make now requires ant 1.8.2) I could also run make (the

AW: [VOTE] Release PyLucene 4.2.1-1

2013-04-18 Thread Thomas Koch
Andi, I now get a different error while compiling __init__.cpp: org/apache/lucene/util/automaton/CompiledAutomaton$AUTOMATON_TYPE.h(42) : error C2059: Syntaxfehler: 'Zeichenfolge' org/apache/lucene/util/automaton/CompiledAutomaton$AUTOMATON_TYPE.h(42) : error C2238: Unerwartete(s) Token vor ';'

AW: AW: [VOTE] Release PyLucene 4.2.1-1

2013-04-19 Thread Thomas Koch
- Von: Andi Vajda [mailto:va...@apache.org] Gesendet: Donnerstag, 18. April 2013 19:09 An: pylucene-dev@lucene.apache.org Betreff: Re: AW: [VOTE] Release PyLucene 4.2.1-1 On Thu, 18 Apr 2013, Thomas Koch wrote: Andi, I now get a different error while compiling __init__.cpp: org/apache

Re: [VOTE] Release PyLucene 4.3.0-1

2013-05-13 Thread Thomas Koch
I was able to build PyLucene 4.3.0-1 on Mac OS X ( Darwin Kernel Version 12.3.0) with Python 2.7.2. All tests did pass. import lucene lucene.VERSION '4.3.0' regards, Thomas Am 07.05.2013 um 02:27 schrieb Andi Vajda va...@apache.org: It looks like the time has finally come for a

Re: Introduction to PyLucene Community and some doubts

2013-06-11 Thread Thomas Koch
Hi, I suggest you have a look at Apache TIKA: http://tika.apache.org You can easily call a java -jar tika.jar command via python tools like os.popen and convert files in various formats to text. There's even a python wrapper based on JCC but I'm not sure if that's still maintained:

Re: jcc/sources/functions.cpp:20:23: error: arpa/inet.h: No such file or directory

2013-06-11 Thread Thomas Koch
Samantha, you may want to try a per-built binary of JCC for windows: there are version for win32 and py26 and py27 available here: http://code.google.com/a/apache-extras.org/p/pylucene-extra/downloads/list These eggs were built using Python, Java, ant and MSVC (Microsoft Visual Studio 9.0) -

Future of pylucene-extra

2013-06-11 Thread Thomas Koch
Hi, the pylucene-extra project started some time ago with the goal to provide pre-built PyLucene and JCC eggs on several OS/Python/Java combos [1]. In fact we collected 32 eggs since June 2011 - including versions for Windows and Mac OSX. Now that Google announced their EOL support for

PyLucene@Mac AWT issue (blocker) on Mac OSX

2013-06-20 Thread Thomas Koch
Hi, I just came across a strange issue on my Macbook where I built PyLucene3.6.2 a while ago and am using it since then (i.e. today) without any problems: as of today I always get an error message java.lang.InternalError: Can't start the AWT because Java was started on the first thread. Make

Re: PyLucene@Mac AWT issue (blocker) on Mac OSX

2013-06-21 Thread Thomas Koch
Am 20.06.2013 um 18:40 schrieb Andi Vajda va...@apache.org: If you don't need AWT, try passing vmargs=['-Djava.awt.headless=true'] to initVM(), like jcc itself does (see jcc's cpp.py vmargs initial value): lucene.initVM(vmargs=['-Djava.awt.headless=true']) Andi.. Thanks, that saved

Re: [VOTE] Release PyLucene 4.3.1-1

2013-06-30 Thread Thomas Koch
Hi, I could build pylucene-4.3.1-1 on Mac OS-X (Darwin Kernel Version 12.4.0) with - Python 2.7.2 - GCC 4.2.1 - java version 1.6.0_51 all tests pass. It should be noted however that the samples won't work on my Mac without adding vmargs=['-Djava.awt.headless=true'] to lucene.initVM() As this

Re: [VOTE] Release PyLucene 4.4.0-1

2013-08-18 Thread Thomas Koch
I could build JCC 2.17 and PyLucene 4.4.0 und Mac OS X 10.8.4 (64-bit only - Python 2.7, Java 1.6). All tests did pass and samples work like expected. +1 regards Thomas -- Am 17.08.2013 um 16:52 schrieb Andi Vajda va...@apache.org: The PyLucene 4.4.0-1 release tracking the recent release

Re: [VOTE] Release PyLucene 4.4.0-1

2013-08-18 Thread Thomas Koch
Hi, must be something wrong with your build chain setup - I also use MacOS 10.8 and Python 2.7 Are you using the Apple builtin Python or did you install your one? Do you have Xcode installed and did you choose to enable the command line tools (Xcode/Preferences/Downloads/Components)? Note: my

Re: [VOTE] Release PyLucene 4.7.1-1

2014-04-09 Thread Thomas Koch
(use -v to see invocation) This is Max OS X 10.9.2 with XCode version 5.1 - any hints are appreciated ,-) regards Thomas Koch -- OrbiTeam Software GmbH Co. KG www.orbiteam.de Am 09.04.2014 um 03:57 schrieb Andi Vajda va...@apache.org: This vote has been obsoleted by the upcoming release

Re: [VOTE] Release PyLucene 4.7.1-1

2014-04-10 Thread Thomas Koch
Am 09.04.2014 um 22:35 schrieb Andi Vajda va...@apache.org: I think all of these were covered last week on this list, or was it off list ? Hi, yes - sorry, just missed that discussion - it’s here: http://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/201403.mbox/date Anyway: - you

Re: [VOTE] Release PyLucene 4.7.2-1

2014-04-16 Thread Thomas Koch
Hi , I was able to build PyLucene 4.7.2-1 (incl. JCC 2.19) from source on MacOS-X and „make test“ passes without failures. also tested the samples IndexFiles.py and SearchFiles.py but the FacetExample.py unfortunately fails now: samples$ python FacetExample.py Traceback (most recent call

AW: release votes

2014-04-24 Thread Thomas Koch
Hi Andi, 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 install PyLucene on the various platforms. Having a packaged release that is tested by some

Re: PyLucene 4.8.0 - samples/FacetExample.py appears broken

2014-05-30 Thread Thomas Koch
Hello Ed, yes this is a 'known issue‘ - I contributed the FacetExample based on PyLucene 3.6.x. Meanwhile Lucene Facet API has changed and I shall adapt the example. regards, Thomas -- Am 30.05.2014 um 18:09 schrieb Eduard Rozenberg edua...@pobox.com: Hello, I’m getting an error running

Re: PyLucene 4.8.0 - samples/FacetExample.py appears broken

2014-06-02 Thread Thomas Koch
Am 30.05.2014 um 23:08 schrieb Andi Vajda va...@apache.org: Thanks Thomas ! Once you do that maybe it's time to make a 4.8.1 release too. Let me know when you're ready with a fix. TLDR; fix is available: I've now revised the FacetExample.py to use the new API - it's tested to work with

Re: Install two version of lucene.

2014-10-22 Thread Thomas Koch
Hi Caba, you probably have both ‚installed‘ - i.e. both versions are copied into your global python’s site-packages directory, but only one is enabled by the installer (pip or easy-install). The ‚active‘ packages are added to the python sys.path - this is typically done in a file

Current state of PyLucene

2015-11-15 Thread Thomas Koch
ucene, including a standalone server based on CherryPy. https://pypi.python.org/pypi/lupyne <https://pypi.python.org/pypi/lupyne> best regards Thomas Koch — OrbiTeam Software www.orbiteam.de <http://www.orbiteam.de/>

AW: Current state of PyLucene

2015-11-17 Thread Thomas Koch
> > On Nov 15, 2015, at 22:54, Jeff Breidenbach wrote: > > > > I don't understand this. Lucene is the dominant open source search > > software, and Python continues to gain popularity. > > Why is there a decline in interest? > > Dunno. The PMC lives in Java land and doesn't pay

Re: [VOTE] Release PyLucene 4.10.4-1

2015-11-21 Thread Thomas Koch
+1 for this release from a pylucene user. I managed to built & install PyLucene 4.10.4-1 release with Java version "1.8.0_66"(build 1.8.0_66-b17) on macosx-10.10 (intel) with Python 2.7.10 - 'make test' runs fine. For Mac users with installation issues here are some hints that may help: I did

Re: Installing PyLucene

2017-01-12 Thread Thomas Koch
under python 3, on mac, linux and > windows, I saw no deviations in behavior of the library compared to v2.7. > This is by far not a very deep test suite, but very good news. > > With Best Regards > /Petrus > > > >> On 06 Jan 2017, at 10:07 , Thomas Koch <k...@o

Re: Installing PyLucene

2017-01-12 Thread Thomas Koch
Dear Andi, many thanks for your review of the patch and helpful comments. As mentioned in my previous mail to the list I’m afraid to let you know that we currently cannot put more effort into this task. This may change in the future of course. However, with „funding“ my idea was to look for

Re: Installing PyLucene

2017-01-06 Thread Thomas Koch
> Am 04.01.2017 um 10:59 schrieb Petrus Hyvönen : > > Dear Thomas, > > I would be very interested in a python 3 port of JCC. I am not a very skilled > developer, looked at starting a development based on the old python-3 version > but it's beyond my current skills. >

Re: Installing PyLucene

2017-01-06 Thread Thomas Koch
Dear Andi, I’ve just sent the link to the public gist with the patch to Petrus and this list. As mentioned by Oliver we’d be more than happy if a core developer of JCC/PyLucene could review the patch and decide what to do with it. It has been developed without intimate knowledge of JCC with