Re: Errors when running "make test"

2019-01-27 Thread marco turchi
Yes it fixes the problem. Thanks a lot! Marco On Sun, Jan 27, 2019 at 11:07 PM Andi Vajda wrote: > > > On Sun, 27 Jan 2019, marco turchi wrote: > > > Dear Andi, > > thanks a lot! I will have a look at the configuration of the drivers. > > > > > >

Re: Errors when running "make test"

2019-01-27 Thread marco turchi
Dear Andi, thanks a lot! I will have a look at the configuration of the drivers. > This code needs to be fixed for Python 3. > How is the name of an exception class extracted in Python 3 ? > The exception class cannot be used directly since WindowsError exists only > on Windows, making the code

Errors when running "make test"

2019-01-27 Thread marco turchi
Dear All, I'm installing PyLucene in a Linux machine. The make command reached the end without problems but I got this error when running make test: ERROR: test_removeDocument (__main__.Test_PyLuceneWithFSStore) ERROR: test_removeDocuments (__main__.Test_PyLuceneWithFSStore) ERROR:

Re: ShingleAnalyzerWrapper in PyLucene

2017-01-29 Thread marco turchi
Hi Andi, while I was changing the parameter value, I have noticed another problem. I have fixed it and it works. Thanks a lot and sorry for bothering you! Marco On Sun, Jan 29, 2017 at 9:38 PM, Andi Vajda <va...@apache.org> wrote: > > On Sun, 29 Jan 2017, marco turchi wrote: >

Re: ShingleAnalyzerWrapper in PyLucene

2017-01-29 Thread marco turchi
On Sun, Jan 29, 2017 at 7:14 PM, Andi Vajda <va...@apache.org> wrote: > > > On Jan 29, 2017, at 03:50, marco turchi <marco.tur...@gmail.com> wrote: > > > > Dear Andi, > > please find in attachment the Java and the Python codes. Both of them, > create an ind

Re: ShingleAnalyzerWrapper in PyLucene

2017-01-29 Thread marco turchi
;va...@apache.org> wrote: > > On Sat, 28 Jan 2017, marco turchi wrote: > > Dear All, >> I need to use the ShingleAnalyzerWrapper in PyLucene. >> >> I have built the analyzer similar to Lucene: >> self.analyzer = ShingleAnalyzerWrapper(WhitespaceAnalyzer(), 2, 4, "

ShingleAnalyzerWrapper in PyLucene

2017-01-28 Thread marco turchi
Dear All, I need to use the ShingleAnalyzerWrapper in PyLucene. I have built the analyzer similar to Lucene: self.analyzer = ShingleAnalyzerWrapper(WhitespaceAnalyzer(), 2, 4, " " , True, False, None) and I have used it inside QuertParser query = QueryParser("source",

Re: Installing PyLucene

2017-01-05 Thread marco turchi
Done! all testes passed! thanks a lot! Marco On Thu, Jan 5, 2017 at 5:21 PM, Andi Vajda <va...@apache.org> wrote: > > > On Jan 5, 2017, at 07:27, marco turchi <marco.tur...@gmail.com> wrote: > > > > Perfect!!! > > > > For now, I keep the ve

Re: Installing PyLucene

2017-01-04 Thread marco turchi
Dear Andi and Thomas, following your advice I have removed the Windows error. I still have this ERROR: testThroughLayerException (__main__.PythonExceptionTestCase) To answer Andi, I have printed the config.SHARED just before the error and the output is true, in my opinion, showing that the

Re: Installing PyLucene

2016-12-30 Thread marco turchi
Dear Andi, thanks a lot for you answers! > You do not need root privileges if you don't modify the system python. One > way to achieve that is to setup a python virtualenv first and install jcc > and pylucene into it instead of the system python. > > Do you mean to install a new version of

PyLucene Subscribe

2016-12-30 Thread marco turchi
Hi I'm new in pylucene and I'd like to subscribe to the mailing list to post some question about the installation. Best Regards, Marco

Installing PyLucene

2016-12-30 Thread marco turchi
Dear All, I'm newer with PyLucene and I'm trying to instal it on my local home on a cluster. In this environment, I do not have root privilege, I'm using a version of python (2.7.5) available in anaconda and our cluster is not connected to the WEB, so I cannot use setuptools. I have followed the