Re: JCC build fails with Python>=3.8

2021-11-18 Thread David Allouche
Here, the patch I needed to compile pylucene with Python>=3.8 It cannot be merged as is, because additional works is required to preserve compatibility with Python<3.8. --- jcc/setup.py +++ jcc/setup.py @@ -365,8 +365,7 @@ '-compatibility_version', jcc_ver] el

Re: JCC build fails with Python>=3.8

2021-11-18 Thread David Allouche
Here, the patch I needed to compile pylucene with Python>=3.8 It cannot be merged as is, because additional works is required to preserve compatibility with Python<3.8. --- jcc/setup.py +++ jcc/setup.py @@ -365,8 +365,7 @@ '-compatibility_version', jcc_ver] el

Re: JCC build fails with Python>=3.8

2021-11-18 Thread David Allouche
Here, the patch I needed to compile pylucene with Python>=3.8 It cannot be merged as is, because additional works is required to preserve compatibility with Python<3.8. --- jcc/setup.py +++ jcc/setup.py @@ -365,8 +365,7 @@ '-compatibility_version', jcc_ver] el

Re: JCC build fails with Python>=3.8

2021-11-18 Thread David Allouche
Here, the patch I needed to compile pylucene with Python>=3.8 It cannot be merged as is, because additional works is required to preserve compatibility with Python<3.8. --- jcc/setup.py +++ jcc/setup.py @@ -365,8 +365,7 @@ '-compatibility_version', jcc_ver] el

Re: Autosuggest/Autocomplete: What are the best practices to build Suggester?

2021-11-18 Thread Michael Wechner
I just realize that I can set an index directory when constructing the Suggester, for example Directory indexDir = FSDirectory.open(indexDirPath); AnalyzingInfixSuggester suggester =new AnalyzingInfixSuggester(indexDir, analyzer, analyzer,3,true); and that I build the index using an ItemItera

JCC build fails with Python>=3.8

2021-11-18 Thread David Allouche
Hello, https://issues.apache.org/jira/projects/PYLUCENE/issues/PYLUCENE-52 Currently porting a code base to Python3, I have found about this issue. If I understand correctly, that means that pylucene cannot be built on Python

Autosuggest/Autocomplete: What are the best practices to build Suggester?

2021-11-18 Thread Michael Wechner
Hi I recently started to use the Autosuggest/Autocomplete package as suggested by Robert https://www.mail-archive.com/java-user@lucene.apache.org/msg51403.html which works very fine, thanks again for your help :-) But it is not clear to me what are the best practices building a suggester us