RE: Multithreading/Multiprocess of JCC

2025-01-10 Thread Andi Vajda
On Sat, 11 Jan 2025, Teh, Chee Yong wrote: CORPORATE I can pinpoint the JCC version that causing the issue. When I'm using JCC version 3.9 (with open jdk 8 or open jdk 21). Our pytest run fine. When I'm upgrading JCC to version 3.10 (with open jdk 8 or open jdk 21). I'm start seeing segm

Re: Multithreading/Multiprocess of JCC

2024-12-12 Thread Andi Vajda
On Thu, 12 Dec 2024, Teh, Chee Yong wrote: CORPORATE Hi Andi, I have question related to running a wrapped function in a multithreading/multiprocess environment in python. We have a java library and we wrapped it using JCC so we can call it from python. We have a list of data that we ne

Re: Store byte array in StoredField using zlib compression

2024-10-27 Thread Andi Vajda
27;notify', 'notifyAll', 'of_', 'ordinal', 'parameters_', 'toString', 'valueOf', 'values', 'wait', 'wrapfn_'] >>> Lucene100Codec.Mode.BEST_COMPRESSION >>> print(Lucene100Codec.Mode.BEST_COMP

Re: Store byte array in StoredField using zlib compression

2024-10-26 Thread Andi Vajda
al java string and is being corrupted, probably at the first utf-8 conversion error. I didn't actually verify this, I'm not near my computer but you're comparing a working solution with a non-working one 😊 Andi.. > >> On Sat, Oct 26, 2024 at 7:03 PM Andi Vajda wro

Re: Store byte array in StoredField using zlib compression

2024-10-26 Thread Andi Vajda
> On Oct 26, 2024, at 14:50, Prashant Saxena wrote: > > I just need to store compressed strings to save space. If it can be done in > any other way, I'm OK with that. The JArray('byte') is the way. Andi.. > > >> On Sat, Oct 26, 2024 at 6:11 PM An

Re: Store byte array in StoredField using zlib compression

2024-10-26 Thread Andi Vajda
On Sat, 26 Oct 2024, Prashant Saxena wrote: PyLucene 10.0.0 I'm trying to store a long text by compressing it first using zlib *doc.add(StoredField("contents", zlib.compress(ftext.encode('utf-8'* The resulting index size is *~83 MB*. When reading it's value back using *c = doc.getBinar

Re: Using StandardQueryParser in PyLucene 10.0.0

2024-10-25 Thread Andi Vajda
On Fri, 25 Oct 2024, Prashant Saxena wrote: Here is the reference in the documentation: https://lucene.apache.org/core/10_0_0/queryparser/org/apache/lucene/queryparser/flexible/standard/StandardQueryParser.html Code: sqparser = StandardQueryParser() config = sqparser.getQueryConfigHandler()

Re: Open a set of extremely old indexes using latest PyLucene 10.0.0

2024-10-23 Thread Andi Vajda
> On Oct 23, 2024, at 08:46, Prashant Saxena wrote: > > I do have a set of old lucene index files, probably 15-20 years old. Every > index directory contains > four files, something like these...(size is different) > > _0.cfx 47, 942 KB > _s.cfs 1,78,687 KB > segment

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
g > extensively within the next few days > and post here in case of any bugs. Great, thanks ! Andi.. > >> On Tue, Oct 22, 2024 at 7:28 PM Andi Vajda wrote: >> >> >>> On Tue, 22 Oct 2024, Prashant Saxena wrote: >>> >>> Voila;-) >&

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
ed T_LONG \ --reserved T_SHORT \ and everything works fine. Just doing some leftover things in the python build script. I'll add these new "reserved-by-MSVC" words in jcc's RESERVED ;-) Andi.. Prashant On Tue, Oct 22, 2024 at 3:26 PM Andi Vajda wrote: On Tue, 22 O

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
On Tue, 22 Oct 2024, Andi Vajda wrote: On Tue, 22 Oct 2024, Prashant Saxena wrote: Here are three of them pylucene-10.0.0\build\_lucene\java/lang/System$Logger$Level.h(41) static System$Logger$Level *ERROR; pylucene-10.0.0\build\_lucene\org/antlr/v4/runtime/atn/ATNSimulator.h(63) static

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
te', 'and', 'or', 'not', 'xor', 'union', 'register', 'const', 'bool', 'operator', 'typeof', 'asm', 'mutable', 'inline', 'typedef',

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-22 Thread Andi Vajda
atic ': ignored on left of 'int' when no variable is > declared > error: command 'C:\\Program Files\\Microsoft Visual > Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' > failed with exit code 2 > >> On Tue, Oct 22,

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-21 Thread Andi Vajda
.0\build\_lucene\java/lang/Package.h(47): error C2039: 'NamedPackage': is not a member of 'java::lang' D:\projects\database\pylucene-10.0.0\build\_lucene\java/lang/Double.h(22): note: see declaration of 'java::lang' D:\projects\database\pylucene-10.0.0\build\_lucene\java/lang

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-21 Thread Andi Vajda
de the MSVC compiler or Windows headers. You can work such errors around by adding 'constant' to the RESERVED word list in jcc/jcc3/cpp.py, rebuilding and reinstalling jcc and trying your PyLucene build again. Andi.. > >> On Mon, Oct 21, 2024 at 1:13 AM Andi Vajda wrote: >

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-20 Thread Andi Vajda
e to ease the process of > building. At present I am trying to > build Lucene-10.0.0 manually as per the instructions. > gradlew.bat assemble > gradlew.bat check > > but it's not working. > >> On Mon, Oct 21, 2024 at 12:34 AM Andi Vajda wrote: >> >>

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-20 Thread Andi Vajda
> On Oct 20, 2024, at 21:00, Andi Vajda wrote: > >  >> On Oct 20, 2024, at 20:52, Prashant Saxena wrote: >> >> As per the documentation first I typed >> "gradlew assemble" >> then I typed >> "gradlew check", so yes I have inv

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-20 Thread Andi Vajda
vokes it for you. Let it build Lucene for you, there is no need to do it yourself. Uncomment the Windows section of the Makefile to match your setup. Andi.. > >> On Mon, Oct 21, 2024 at 12:17 AM Andi Vajda wrote: >> >> >>> On Oct 20, 2024, at 20:17, Prashant

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-20 Thread Andi Vajda
ew source) > > - org.pcollections:pcollections:3.1.4 (dependency sources > different) > >Configuration annotationProcessor in :lucene:extensions > (new source) > > > > The following steps may be helpful to resolve the problem: >

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-20 Thread Andi Vajda
> On Oct 20, 2024, at 18:33, Prashant Saxena wrote: > > With jdk-17.0.12, all the lucene jars have been built successfully, however > I'm missing these > 4 files. Could you please tell me more about these files? These 4 files are > required to build > python extension as per the Makefile. Am I

Re: [VOTE] Release PyLucene 10.0.0-rc1

2024-10-20 Thread Andi Vajda
On Sun, 20 Oct 2024, Andi Vajda wrote: Hi all, This vote has been open for more than 72h and received the required +1 votes and has thus passed ! Thank you all who voted ! Onto releasing this rc as PyLucene 10.0.0. Done ! Andi.. Andi.. On Wed, 16 Oct 2024, Andi Vajda wrote: The

Re: [VOTE] Release PyLucene 10.0.0-rc1

2024-10-20 Thread Andi Vajda
Hi all, This vote has been open for more than 72h and received the required +1 votes and has thus passed ! Thank you all who voted ! Onto releasing this rc as PyLucene 10.0.0. Andi.. On Wed, 16 Oct 2024, Andi Vajda wrote: The PyLucene 10.0.0 (rc1) release tracking the recent release of

Re: [VOTE] Release PyLucene 10.0.0-rc1 (fwd)

2024-10-20 Thread Andi Vajda
Forwarding Mike's vote to the list for the record. Thanks, Mike ! Andi.. -- Forwarded message -- Date: Sat, 19 Oct 2024 19:30:31 -0400 From: Michael McCandless To: Andi Vajda Subject: Re: [VOTE] Release PyLucene 10.0.0-rc1 +1 to release! I ran my usual smoke test:

Re: lucene build failure on Windows using pylucene 9.7.0

2024-10-20 Thread Andi Vajda
> On Oct 20, 2024, at 07:25, Prashant Saxena wrote: > > Hello, > OS : Windows 10 > PyLucene : 9.7.0 > JDK : 23.0 > > Although I can download the binary distribution of version 9.7.0, I have > decided to build it from scratch as > I am new to javascript javascript ? > and lucene. It will hel

[VOTE] Release PyLucene 10.0.0-rc1

2024-10-16 Thread Andi Vajda
The PyLucene 10.0.0 (rc1) release tracking the recent release of Apache Lucene 10.0.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/10.0.0-rc1/ PyLucene 10.0.0 is built with JCC 3.15, included in these release artifacts. PyLucene 10.

Re: [VOTE] Release PyLucene 9.12.0-rc1

2024-10-11 Thread Andi Vajda
On Fri, 11 Oct 2024, Andi Vajda wrote: Onto releasing this rc as PyLucene 9.12.0. Done: https://www.apache.org/dyn/closer.lua/lucene/pylucene/ Andi..

Re: [VOTE] Release PyLucene 9.12.0-rc1

2024-10-11 Thread Andi Vajda
Hi all, This vote has been open for more than 72h and received a bunch of +1 votes, among which 3 PMC +1s and has thus passed ! Thank you all who voted ! Onto releasing this rc as PyLucene 9.12.0. Andi.. On Sat, 5 Oct 2024, Andi Vajda wrote: The PyLucene 9.12.0 (rc1) release tracking

Re: [VOTE] Release PyLucene 9.12.0-rc1

2024-10-05 Thread Andi Vajda
On Sat, 5 Oct 2024, Jeff Breidenbach wrote: +1 Thanks ! Side question: is it easy to tell from the version numbers when reindexing is required? I think (?) Lucene offers backwards compatibility for one major release back. With Lucene 9 you can read down to Lucene 8 indexes, for example.

[VOTE] Release PyLucene 9.12.0-rc1

2024-10-05 Thread Andi Vajda
The PyLucene 9.12.0 (rc1) release tracking the recent release of Apache Lucene 9.12.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.12.0-rc1/ PyLucene 9.12.0 is built with JCC 3.14, included in these release artifacts. JCC 3.14 su

Re: Problems with IndexFiles.py

2024-08-11 Thread Andi Vajda
On Fri, 9 Aug 2024, Andi Vajda wrote: On Aug 9, 2024, at 02:54, Marshall, Chris wrote:  Hi Andy, Do you think using a new version of python might fix it? Two things: - the sample code is out of date, it needs to be refreshed - the code in unit tests is correct, it can be used as

Re: Problems with IndexFiles.py

2024-08-09 Thread Andi Vajda
> On Aug 9, 2024, at 02:54, Marshall, Chris wrote: > >  > Hi Andy, > > Do you think using a new version of python might fix it? Two things: - the sample code is out of date, it needs to be refreshed - the code in unit tests is correct, it can be used as examples for refreshing the samples

[jira] [Resolved] (PYLUCENE-70) JCC --generate missing additional \ on windows

2024-03-21 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-70. Resolution: Fixed fixed in rev 1916468. > JCC --generate missing additional \ on wind

[jira] [Commented] (PYLUCENE-70) JCC --generate missing additional \ on windows

2024-03-17 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827781#comment-17827781 ] Andi Vajda commented on PYLUCENE-70: Hi Petrus, thank you for the bug report

[jira] [Updated] (PYLUCENE-70) JCC --generate missing additional \ on windows

2024-03-17 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda updated PYLUCENE-70: --- Attachment: jcc_python.patch > JCC --generate missing additional \ on wind

Re: [VOTE] Release PyLucene 9.10.0-rc1

2024-03-04 Thread Andi Vajda
Thank you all who voted. Thank you Dawid and Mike for your PMC +1 votes as well. This vote has passed ! Expect a release shortly... Andi.. On Wed, 21 Feb 2024, Andi Vajda wrote: The PyLucene 9.10.0 (rc1) release tracking the recent release of Apache Lucene 9.10.0 is ready. A release

Re: The future of the PyLucene project

2024-03-04 Thread Andi Vajda
So it does look like there are users of PyLucene who would like the project to continue, after all. As long as there is interest I'm happy to continue with it as well. Thank you all who responded to this thread ! Andi.. On Wed, 28 Feb 2024, Andi Vajda wrote: Hi PyLucene user

Re: The future of the PyLucene project

2024-02-28 Thread Andi Vajda
On Wed, 28 Feb 2024, Erik Groeneveld LPV wrote: I always followed new releases and checked the change log for both PyLucene and Lucene. I never felt entitled to vote however. This seems to be a common misconception. Everyone can vote on a release, everyone is entitled to. It's just an Apache

The future of the PyLucene project

2024-02-28 Thread Andi Vajda
Hi PyLucene users and Lucene PMC, A week ago, on Wednesday February 21st, I started a voting thread for qualifying a new PyLucene release candidate to catch-up with the recent Lucene 9.10.0 release and fix a bug in JCC. Usually these voting threads get a couple of +1 for PyLucene users bef

[VOTE] Release PyLucene 9.10.0-rc1

2024-02-21 Thread Andi Vajda
The PyLucene 9.10.0 (rc1) release tracking the recent release of Apache Lucene 9.10.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.10.0-rc1/ PyLucene 9.10.0 is built with JCC 3.14, included in these release artifacts. Apart from

[jira] [Commented] (PYLUCENE-65) Support the default java on debian in `setup.py`.

2024-02-07 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815420#comment-17815420 ] Andi Vajda commented on PYLUCENE-65: on my rather old debian install and als

[jira] [Commented] (PYLUCENE-69) Linking libjvm seems to prevent PyPi upload

2024-02-07 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815416#comment-17815416 ] Andi Vajda commented on PYLUCENE-69: Try with the latest but I doubt you'l

[jira] [Resolved] (PYLUCENE-68) setup.py install and easy_install command are deprecated

2024-02-07 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-68. Resolution: Fixed Fixed in HEAD. > setup.py install and easy_install command are depreca

[jira] [Comment Edited] (PYLUCENE-68) setup.py install and easy_install command are deprecated

2024-02-07 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815414#comment-17815414 ] Andi Vajda edited comment on PYLUCENE-68 at 2/7/24 7:5

[jira] [Commented] (PYLUCENE-68) setup.py install and easy_install command are deprecated

2024-02-07 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815414#comment-17815414 ] Andi Vajda commented on PYLUCENE-68: I looked into this issue a bit more now

Fwd: Where to report issues with lucene/pylucene

2024-01-08 Thread Andi Vajda
Begin forwarded message: > From: Andi Vajda > Date: January 8, 2024 at 15:59:29 GMT+1 > To: d...@lucene.apache.org > Subject: Re: Where to report issues with lucene/pylucene > Reply-To: d...@lucene.apache.org > >  >> On Sun, 7 Jan 2024, Bob Kline wrote: >>

[jira] [Closed] (PYLUCENE-31) JCC Parallel/Multiprocess Compilation + Caching

2023-11-11 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda closed PYLUCENE-31. -- Resolution: Fixed distutils is on its way out with Python 3.12 > JCC Parallel/Multiproc

[jira] [Closed] (PYLUCENE-8) lucene.JCC_VERSION isn't set properly on Windows

2023-11-11 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda closed PYLUCENE-8. - Resolution: Fixed > lucene.JCC_VERSION isn't set properly on

[jira] [Closed] (PYLUCENE-18) Version 3.6.0 lacks readme

2023-11-11 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda closed PYLUCENE-18. -- Resolution: Fixed > Version 3.6.0 lacks readme > -- > >

[jira] [Closed] (PYLUCENE-64) ModuleNotFoundError: No module named 'lucene' when intalling PyLucene

2023-11-11 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda closed PYLUCENE-64. -- Resolution: Fixed seems to work fine > ModuleNotFoundError: No module named 'lucene' w

[jira] [Closed] (PYLUCENE-56) Can't build JCC on Mac

2023-11-11 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda closed PYLUCENE-56. -- Resolution: Fixed building JCC on M2 mac works fine > Can't build JC

[jira] [Commented] (PYLUCENE-27) JCC should be able to create sdist archives

2023-11-11 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785231#comment-17785231 ] Andi Vajda commented on PYLUCENE-27: Yes, with the upcoming demise of setupt

[jira] [Comment Edited] (PYLUCENE-69) Linking libjvm seems to prevent PyPi upload

2023-11-11 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785230#comment-17785230 ] Andi Vajda edited comment on PYLUCENE-69 at 11/11/23 10:5

[jira] [Commented] (PYLUCENE-69) Linking libjvm seems to prevent PyPi upload

2023-11-11 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785230#comment-17785230 ] Andi Vajda commented on PYLUCENE-69: JCC is a python/c++ code generator

[jira] [Commented] (PYLUCENE-68) setup.py install and easy_install command are deprecated

2023-11-11 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785219#comment-17785219 ] Andi Vajda commented on PYLUCENE-68: I was afraid of that... I did try to build

Re: [VOTE] Release PyLucene 9.7.0-rc1

2023-07-12 Thread Andi Vajda
tical searches, force merging, searching again. > Everything ran fine! > > Arch Linux kernel 6.3.2, Java 17.0.7+7, Python 3.11.3. > > Sorry for the delay! > > Mike > >> On Sun, Jul 9, 2023 at 3:28 PM Dawid Weiss wrote: >> >> >> +1 to release.

Re: Unable to install Pylucene

2023-07-08 Thread Andi Vajda
> On Jul 8, 2023, at 12:58, Subinay Adhikary wrote: > >  > Dear sir, > I encountered difficulties while attempting to install > Pylucene (version 8.10.0) on my Linux machine. Despite having installed JCC, > I encountered an unresolved error even after multiple attempts. I ha

Re: New release for PyLucene?

2023-07-06 Thread Andi Vajda
On Wed, 5 Jul 2023, Benjamin Trent wrote: Lucene 9.7 was just released and contains multiple desirable improvements: https://lucene.apache.org/core/9_7_0/changes/Changes.html Could we kick off a new release for PyLucene? We prepared a 9.7.0 release candidate here [1] and kicked off a releas

[VOTE] Release PyLucene 9.7.0-rc1

2023-07-06 Thread Andi Vajda
The PyLucene 9.7.0 (rc1) release tracking the recent release of Apache Lucene 9.7.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.7.0-rc1/ PyLucene 9.7.0 is built with JCC 3.13, included in these release artifacts. JCC 3.13 suppor

[jira] [Commented] (PYLUCENE-28) JCC reuses JVM instances in impl, if compile() is called twice.

2023-06-25 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736851#comment-17736851 ] Andi Vajda commented on PYLUCENE-28: I see 2 things:   - if a constructor take

Re: [VOTE] Release PyLucene 9.6.0-rc1

2023-06-03 Thread Andi Vajda
On Fri, 2 Jun 2023, Dawid Weiss wrote: Late, but +1 to release. Thank you Andi! Thank you Dawid and Michael, this vote has passed ! Preparing release... Andi.. Dawid On Tue, May 30, 2023 at 1:44 AM Andi Vajda wrote: The PyLucene 9.6.0 (rc1) release tracking the recent release of

[VOTE] Release PyLucene 9.6.0-rc1

2023-05-29 Thread Andi Vajda
The PyLucene 9.6.0 (rc1) release tracking the recent release of Apache Lucene 9.6.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.6.0-rc1/ PyLucene 9.6.0 is built with JCC 3.13, included in these release artifacts. JCC 3.13 suppor

Re: PyLucene installation - make failing

2023-03-27 Thread Andi Vajda
On Tue, 28 Mar 2023, S Less wrote: I'm able to successfully perform indexing and searching within Python. I was hoping to try the Monitor class however this line fails from org.apache.lucene.monitor import M

Re: PyLucene installation - make failing

2023-03-23 Thread Andi Vajda
I suspect you didn't edit Makefile to enable the variables corresponding to your environment ? Andi.. > On Mar 23, 2023, at 01:02, S Less wrote: > > Hi, as you can see below, make and make test are reporting *Illegal option: > l* > > and make test an additional error. > > macOS Ventura Ve

Re: JCC Compilation Error

2023-03-22 Thread Andi Vajda
On Thu, 23 Mar 2023, S Less wrote: *jcc3/sources/functions.cpp:1742:28: **error: **expression is not assignable* Py_TYPE(*type) = PY_TYPE(FinalizerClass); *~~ ^* This is https://issues.apache.org/jira/browse/PYLUCENE-66 and was fixed for PyLucene 9.4.1.

Re: Adding new extension point

2022-11-10 Thread Andi Vajda
On Thu, 10 Nov 2022, Benjamin Trent wrote: Hey y'all, I am new to this type of workflow, I am used to github and Pull-requests. What is the process for adding a new extension point? With a recent foray into getting Lucene KNN into the ann-benchmarks repository, I found the need to adjust the

Re: [VOTE] Release PyLucene 9.4.1-rc3

2022-11-07 Thread Andi Vajda
This vote has passed. Thank you all who voted ! The PyLucene 9.4.1 is now available (or when the download mirrors show it). Andi.. On Tue, 1 Nov 2022, Andi Vajda wrote: The PyLucene 9.4.1 (rc3) release tracking the recent release of Apache Lucene 9.4.1 is ready. A release candidate is

[jira] [Comment Edited] (PYLUCENE-66) JCC doesn't build with Python 3.11.

2022-11-04 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17629184#comment-17629184 ] Andi Vajda edited comment on PYLUCENE-66 at 11/4/22 7:5

[jira] [Comment Edited] (PYLUCENE-66) JCC doesn't build with Python 3.11.

2022-11-04 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17629184#comment-17629184 ] Andi Vajda edited comment on PYLUCENE-66 at 11/4/22 7:5

[jira] [Commented] (PYLUCENE-66) JCC doesn't build with Python 3.11.

2022-11-04 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17629184#comment-17629184 ] Andi Vajda commented on PYLUCENE-66: The installType function in jcc/jcc3/sou

[jira] [Commented] (PYLUCENE-66) JCC doesn't build with Python 3.11.

2022-11-04 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17629183#comment-17629183 ] Andi Vajda commented on PYLUCENE-66: Use the JCC in the 9.4.1 release candidat

[VOTE] Release PyLucene 9.4.1-rc3

2022-11-01 Thread Andi Vajda
The PyLucene 9.4.1 (rc3) release tracking the recent release of Apache Lucene 9.4.1 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.4.1-rc3/ PyLucene 9.4.1 is built with JCC 3.13, included in these release artifacts. JCC 3.13 suppor

Re: [VOTE] Release PyLucene 9.4.1-rc2

2022-11-01 Thread Andi Vajda
This vote has now failed too as Py_SET_TYPE is not available in Python 3.6. rc3 is ready. Sorry for the noise, Andi.. On Tue, 1 Nov 2022, Andi Vajda wrote: The PyLucene 9.4.1 (rc2) release tracking the recent release of Apache Lucene 9.4.1 is ready. A release candidate is available from

Re: [VOTE] Release PyLucene 9.4.1-rc2

2022-11-01 Thread Andi Vajda
27; failed with exit status 1 I am thinking https://issues.apache.org/jira/browse/PYLUCENE-66 is related. Thanks! On Tue, Nov 1, 2022 at 2:13 PM Andi Vajda wrote: The PyLucene 9.4.1 (rc2) release tracking the recent release of Apache Lucene 9.4.1 is ready. A release candidate is availabl

[VOTE] Release PyLucene 9.4.1-rc2

2022-11-01 Thread Andi Vajda
The PyLucene 9.4.1 (rc2) release tracking the recent release of Apache Lucene 9.4.1 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.4.1-rc2/ PyLucene 9.4.1 is built with JCC 3.13, included in these release artifacts. JCC 3.13 suppor

Re: [VOTE] Release PyLucene 9.4.1

2022-11-01 Thread Andi Vajda
This vote has failed - we need to release a new version of JCC after all in order to support Python 3.11, which came out last week. Preparing rc2. Andi.. On Mon, 31 Oct 2022, Andi Vajda wrote: The PyLucene 9.4.1 (rc1) release tracking the recent release of Apache Lucene 9.4.1 is ready

[jira] [Comment Edited] (PYLUCENE-66) JCC doesn't build with Python 3.11.

2022-10-31 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626895#comment-17626895 ] Andi Vajda edited comment on PYLUCENE-66 at 11/1/22 1:1

[jira] [Commented] (PYLUCENE-66) JCC doesn't build with Python 3.11.

2022-10-31 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626895#comment-17626895 ] Andi Vajda commented on PYLUCENE-66: I switched that line to use Py_SET_TYPE()

[jira] [Resolved] (PYLUCENE-66) JCC doesn't build with Python 3.11.

2022-10-31 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-66. Resolution: Fixed fixed in rev 1904960. > JCC doesn't build with Pyt

[VOTE] Release PyLucene 9.4.1

2022-10-31 Thread Andi Vajda
The PyLucene 9.4.1 (rc1) release tracking the recent release of Apache Lucene 9.4.1 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.4.1-rc1/ PyLucene 9.4.1 is built with JCC 3.12, included in these release artifacts. JCC 3.12 suppor

Re: New release of PyLucene?

2022-10-31 Thread Andi Vajda
On Mon, 31 Oct 2022, Benjamin Trent wrote: Thank you very much Andi! Once I wrapped my head around the basics, I found PyLucene excellent, intuitive, and just like writing in Lucene, but with Python! It would be marvelous if we could automate the process or document the steps for building ne

Re: New release of PyLucene?

2022-10-31 Thread Andi Vajda
> On Oct 31, 2022, at 07:55, Benjamin Trent wrote: > > Lucene 9.4.1 was recently released. The last version of PyLucene released > was 9.1.0. There have been some improvements to Lucene since then. My > particular concern is around KNN search. > > What is the process to start a new release of

[jira] [Commented] (PYLUCENE-64) ModuleNotFoundError: No module named 'lucene' when intalling PyLucene

2022-06-02 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545615#comment-17545615 ] Andi Vajda commented on PYLUCENE-64: I believe there is an issue with running &

[jira] [Commented] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-28 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529472#comment-17529472 ] Andi Vajda commented on PYLUCENE-63: The first 'make print-GENERATE'

[jira] [Commented] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-27 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529212#comment-17529212 ] Andi Vajda commented on PYLUCENE-63: What does 'make print-GENERATE'

[jira] [Resolved] (PYLUCENE-63) can not install pylucene on linux with proxy

2022-04-27 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-63. Resolution: Information Provided I cannot help you with proxy issues and this bug is obsolete by

Re: [VOTE] Release PyLucene 9.1.0 (rc4)

2022-04-27 Thread Andi Vajda
This vote has passed. Thank you all who voted ! Andi.. On Fri, 22 Apr 2022, Andi Vajda wrote: The PyLucene 9.1.0 (rc4) release tracking last month's release of Apache Lucene 9.1.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pyl

Re: [VOTE] Release PyLucene 9.1.0 (rc4)

2022-04-26 Thread Andi Vajda
Hi Mike, On Tue, 26 Apr 2022, Andi Vajda wrote: I have not yet tested PyLucene and JCC with python 3.10. It could be that the heuristics for modern setuptools need to be updated again... I don't think it's worth respinning but I need to have python 3.10 and this setupt

Re: [VOTE] Release PyLucene 9.1.0 (rc4)

2022-04-26 Thread Andi Vajda
nning but I need to have python 3.10 and this setuptools stuff resolved for the next release. Andi.. Mike McCandless http://blog.mikemccandless.com On Mon, Apr 25, 2022 at 8:20 AM Nelia Vb wrote: +1 On 22 Apr 2022, at 23:51, Andi Vajda wrote: The PyLucene 9.1.0 (rc4) release tracking last mo

[VOTE] Release PyLucene 9.1.0 (rc4)

2022-04-22 Thread Andi Vajda
The PyLucene 9.1.0 (rc4) release tracking last month's release of Apache Lucene 9.1.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.1.0-rc4/ PyLucene 9.1.0 is built with JCC 3.12, included in these release artifacts. JCC 3.12 supp

Re: [VOTE] Release PyLucene 9.1.0 (rc3)

2022-04-21 Thread Andi Vajda
This vote has now also failed. There is still an issue with the PyLucene gradle setup Andi.. On Wed, 20 Apr 2022, Andi Vajda wrote: The PyLucene 9.1.0 (rc3) release tracking last month's release of Apache Lucene 9.1.0 is ready. A release candidate is available from:

[VOTE] Release PyLucene 9.1.0 (rc3)

2022-04-20 Thread Andi Vajda
The PyLucene 9.1.0 (rc3) release tracking last month's release of Apache Lucene 9.1.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.1.0-rc3/ PyLucene 9.1.0 is built with JCC 3.12, included in these release artifacts. JCC 3.12 supp

Re: [VOTE] Release PyLucene 9.1.0

2022-04-20 Thread Andi Vajda
On Wed, 20 Apr 2022, Andi Vajda wrote: Ok, so the layout has changed with temurin I guess. This was also the case on Mac. I need to add yet another entry into LFLAGS for linux/temurin in setup.py that reflects this new layout. So it seems to be some sort of expected-packaging problem? I

Re: [VOTE] Release PyLucene 9.1.0 (rc2)

2022-04-20 Thread Andi Vajda
This vote has now failed too, linux support needs to be improved... Andi.. > On Apr 19, 2022, at 17:29, Andi Vajda wrote: > >  > The PyLucene 9.1.0 (rc2) release tracking last month's release of > Apache Lucene 9.1.0 is ready. > > A release candidate is

Re: [VOTE] Release PyLucene 9.1.0

2022-04-20 Thread Andi Vajda
Hi Dawid, On Wed, 20 Apr 2022, Dawid Weiss wrote: If you tell me what OS you are on and what the error actually is, I can help you a bit better. But assuming you're on a Mac, you do not need to export I'm actually on Windows but I tried to compile everything on Linux - an older Ubuntu wi

[VOTE] Release PyLucene 9.1.0 (rc2)

2022-04-19 Thread Andi Vajda
The PyLucene 9.1.0 (rc2) release tracking last month's release of Apache Lucene 9.1.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.1.0-rc2/ PyLucene 9.1.0 is built with JCC 3.12, included in these release artifacts. JCC 3.12 supp

Re: [VOTE] Release PyLucene 9.1.0

2022-04-19 Thread Andi Vajda
This vote has failed as the release artifacts were found to contain unnecessary cruft. Thank you Dawid for reporting the issue. I'm calling for an rc2 vote in the next message. Andi.. On Sun, 17 Apr 2022, Andi Vajda wrote: The PyLucene 9.1.0 (rc1) release tracking last month'

Re: [VOTE] Release PyLucene 9.1.0

2022-04-19 Thread Andi Vajda
! Andi.. Dawid On Sun, Apr 17, 2022 at 9:48 PM Andi Vajda wrote: The PyLucene 9.1.0 (rc1) release tracking last month's release of Apache Lucene 9.1.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.1.0-rc1/ PyLucene 9.

[VOTE] Release PyLucene 9.1.0

2022-04-17 Thread Andi Vajda
The PyLucene 9.1.0 (rc1) release tracking last month's release of Apache Lucene 9.1.0 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.1.0-rc1/ PyLucene 9.1.0 is built with JCC 3.12, included in these release artifacts. JCC 3.12 supp

[jira] [Resolved] (PYLUCENE-62) Not finding jvm.dll on windows

2022-04-17 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-62. Resolution: Fixed > Not finding jvm.dll on wind

[jira] [Commented] (PYLUCENE-62) Not finding jvm.dll on windows

2022-04-17 Thread Andi Vajda (Jira)
[ https://issues.apache.org/jira/browse/PYLUCENE-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523433#comment-17523433 ] Andi Vajda commented on PYLUCENE-62: Thank you for having verified the cha

  1   2   3   4   5   6   7   8   9   10   >