Re: ShingleAnalyzerWrapper in PyLucene

2017-01-29 Thread marco turchi
looks like you attached only the python program, only one attachment. >>> >>> Andi.. >>> >>> >>>> Thanks a lot for your help >>>> Marco >>>> >>>> >>>> >>>> On Sun, Jan 29, 2017 at 3:10 AM, Andi Va

Re: ShingleAnalyzerWrapper in PyLucene

2017-01-29 Thread Andi Vajda
ooks like you attached only the python program, only one attachment. Andi.. Thanks a lot for your help Marco On Sun, Jan 29, 2017 at 3:10 AM, Andi Vajda <va...@apache.org> wrote: On Sat, 28 Jan 2017, marco turchi wrote: Dear All, I need to use the ShingleAnalyzerWrapper in PyLucene

Re: ShingleAnalyzerWrapper in PyLucene

2017-01-29 Thread marco turchi
t; > > > > > >> On Sun, Jan 29, 2017 at 3:10 AM, Andi Vajda <va...@apache.org> wrote: > >> > >> On Sat, 28 Jan 2017, marco turchi wrote: > >> > >>> Dear All, > >>> I need to use the ShingleAnalyzerWrapper in PyLucene.

Re: ShingleAnalyzerWrapper in PyLucene

2017-01-29 Thread Andi Vajda
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, " " , >>>

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, "

Re: ShingleAnalyzerWrapper in PyLucene

2017-01-28 Thread Andi Vajda
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, " " , True, False, None) and I have used it inside QuertPa

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",