You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by Shawn Grant <sh...@orcatec.com> on 2013/10/18 23:23:20 UTC

complex phrase parsing

I don't see that pylucene has a wrapper for the 
ComplexPhraseQueryParser... am I wrong?  Is there any particular 
difficulty to making that available?

Re: complex phrase parsing

Posted by Andi Vajda <va...@apache.org>.
On Fri, 18 Oct 2013, Shawn Grant wrote:

> I don't see that pylucene has a wrapper for the ComplexPhraseQueryParser... 
> am I wrong?

What version of pylucene are you referring to ?

It seems to be available in 4.4.0:

   >>> from lucene import initVM
   >>> initVM()
   <jcc.JCCEnv object at 0x10029c0f0>
   >>> from org.apache.lucene.queryparser.complexPhrase import ComplexPhraseQueryParser
   >>> ComplexPhraseQueryParser
   <type 'ComplexPhraseQueryParser'>

Andi..

ps: please, subscribe to the list so that your messages don't have to be
     moderated in. Thanks.